diff --git a/g/frame/gmvc/controller.go b/g/frame/gmvc/controller.go index dfb2016b6..9913b798b 100644 --- a/g/frame/gmvc/controller.go +++ b/g/frame/gmvc/controller.go @@ -4,7 +4,7 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// Package gmvc provides base object classes for MVC. +// Package gmvc provides basic object classes for MVC. // MVC. package gmvc diff --git a/g/os/gcfg/gcfg.go b/g/os/gcfg/gcfg.go index a7984cbc6..80b1054a9 100644 --- a/g/os/gcfg/gcfg.go +++ b/g/os/gcfg/gcfg.go @@ -4,7 +4,7 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// Package gcfg provides configuration management. +// Package gcfg provides management for configuration files reading and caching. // 配置管理. // 配置文件格式支持:json, xml, toml, yaml/yml package gcfg diff --git a/g/os/gfcache/gfcache.go b/g/os/gfcache/gfcache.go index 2ade244e8..61322ed2e 100644 --- a/g/os/gfcache/gfcache.go +++ b/g/os/gfcache/gfcache.go @@ -4,7 +4,7 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// Package gfcache provides for file reading and caching. +// Package gfcache provides reading and caching for file contents. // 文件缓存. package gfcache diff --git a/g/os/gfpool/gfpool.go b/g/os/gfpool/gfpool.go index fdc159809..1dbdc2725 100644 --- a/g/os/gfpool/gfpool.go +++ b/g/os/gfpool/gfpool.go @@ -4,7 +4,7 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// Package gfpool provides io-reuse pool for file pointer. +// Package gfpool provides io-reused pool for file pointer. // 文件指针池. package gfpool diff --git a/g/os/glog/glog.go b/g/os/glog/glog.go index 076c37703..2865a82b5 100644 --- a/g/os/glog/glog.go +++ b/g/os/glog/glog.go @@ -5,7 +5,7 @@ // You can obtain one at https://gitee.com/johng/gf. // @author john, zseeker -// Package glog implements powerful and easy-to-use levelled logging. +// Package glog implements powerful and easy-to-use levelled logging functionality. // 日志模块. // 直接文件/输出操作,没有异步逻辑,没有使用缓存或者通道 package glog diff --git a/g/os/gproc/gproc.go b/g/os/gproc/gproc.go index b74390159..4328759e4 100644 --- a/g/os/gproc/gproc.go +++ b/g/os/gproc/gproc.go @@ -4,7 +4,7 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// Package gproc implements processes communication and management. +// Package gproc implements communication and management of processes. // 进程管理/通信. // 本进程管理从syscall, os.StartProcess, exec.Cmd都使用过, // 最后采用了exec.Cmd来实现多进程管理,这是一个顶层的跨平台封装,兼容性更好,另外两个是偏底层的接口。 diff --git a/g/os/grpool/grpool.go b/g/os/grpool/grpool.go index 62aa09e00..3673604b1 100644 --- a/g/os/grpool/grpool.go +++ b/g/os/grpool/grpool.go @@ -4,7 +4,7 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// Package grpool implements goroutine pool. +// Package grpool implements a goroutine reused pool. // Goroutine池. // 用于goroutine复用,提升异步操作执行效率(避免goroutine限制,并节约内存开销). // 需要注意的是,grpool提供给的公共池不提供关闭方法,自创建的池可以手动关闭掉。 diff --git a/g/util/grand/grand.go b/g/util/grand/grand.go index f14e0fae8..562553e8c 100644 --- a/g/util/grand/grand.go +++ b/g/util/grand/grand.go @@ -4,7 +4,7 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// Package grand provides high performance API for random feature. +// Package grand provides high performance API for random functionality. // 随机数管理. package grand diff --git a/g/util/gregex/gregex.go b/g/util/gregex/gregex.go index 6e5c7d4da..40508b23f 100644 --- a/g/util/gregex/gregex.go +++ b/g/util/gregex/gregex.go @@ -4,7 +4,7 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// Package gregex provides high performance API for regular expression feature. +// Package gregex provides high performance API for regular expression functionality. // 正则表达式. package gregex