完善包注释,便于godoc管理

This commit is contained in:
John
2018-01-03 11:04:47 +08:00
parent 7e38b98c6f
commit db71e4c1d1
10 changed files with 11 additions and 9 deletions

View File

@ -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.
// 单例对象管理工具
// 单例对象管理.
// 框架内置了一些核心对象并且可以通过Set和Get方法实现IoC以及对内置核心对象的自定义替换
package gins

View File

@ -4,5 +4,5 @@
// If a copy of the MIT was not distributed with this file,
// You can obtain one at https://gitee.com/johng/gf.
// 强大的HTTP ClientServer管理包
// HTTP Client&Server
package ghttp

View File

@ -5,7 +5,7 @@
// You can obtain one at https://gitee.com/johng/gf.
//
// IPv4管理
// IPv4
package gipv4
import (

View File

@ -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.
// IPv6管理
// IPv6
package gipv6
import "gitee.com/johng/gf/g/util/gregx"

View File

@ -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.
// 局域网端口扫描
// IP扫描
package gscanner
import (

View File

@ -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 glog

2
g/os/gmmap/gmmap.go Normal file
View File

@ -0,0 +1,2 @@
// MMAP
package gmmap

View File

@ -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.
// 数据基本类型转换
// 类型转换.
// 如果给定的interface{}参数不是指定转换的输出类型,那么会进行强制转换,效率会比较低,
// 建议已知类型的转换自行调用相关方法来单独处理。
package gconv

View File

@ -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.
// 唯一ID生成器
// ID生成器.
// 内部采用了通道+缓冲池来实现高效的ID递增生成
// 非常适合高并发下使用
package gidgen

View File

@ -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.
// 通用数据验证工具
// 数据校验.
// 本来打算取名gvalidator的名字太长了缩写一下
package gvalid