aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-03 17:37:50 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-03 17:37:50 +0800
commitfa06fef319128adb428d2c3e9e11e8ce04d71a55 (patch)
treeb29dd4df49c17ea62c7016bf54a2e8a44c73f988
parentLicense and README (diff)
downloadgo-lindenii-common-fa06fef319128adb428d2c3e9e11e8ce04d71a55.tar.gz
go-lindenii-common-fa06fef319128adb428d2c3e9e11e8ce04d71a55.tar.zst
go-lindenii-common-fa06fef319128adb428d2c3e9e11e8ce04d71a55.zip
Add package descriptions
-rw-r--r--clog/clog.go1
-rw-r--r--cmap/map.go1
-rw-r--r--misc/misc.go1
3 files changed, 3 insertions, 0 deletions
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) {