From fa06fef319128adb428d2c3e9e11e8ce04d71a55 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 3 Jan 2025 17:37:50 +0800 Subject: Add package descriptions --- clog/clog.go | 1 + cmap/map.go | 1 + misc/misc.go | 1 + 3 files changed, 3 insertions(+) diff --git a/clog/clog.go b/clog/clog.go index d9162b0..6404219 100644 --- a/clog/clog.go +++ b/clog/clog.go @@ -1,3 +1,4 @@ +// Package clog provides basic logging utilities. package clog import ( diff --git a/cmap/map.go b/cmap/map.go index 658ca3d..be00165 100644 --- a/cmap/map.go +++ b/cmap/map.go @@ -5,6 +5,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Package cmap provides a generic Map safe for concurrent use. package cmap import ( diff --git a/misc/misc.go b/misc/misc.go index df849a0..5526797 100644 --- a/misc/misc.go +++ b/misc/misc.go @@ -1,3 +1,4 @@ +// Package misc provides miscellaneous functions. package misc func Copy_map[K comparable, V any](dst map[K]V, src map[K]V) { -- cgit v1.2.3