mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
完善包注释,便于godoc管理
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -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 Client及Server管理包
|
||||
// HTTP Client&Server
|
||||
package ghttp
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
//
|
||||
|
||||
// IPv4管理
|
||||
// IPv4
|
||||
package gipv4
|
||||
|
||||
import (
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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 (
|
||||
|
||||
@ -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
2
g/os/gmmap/gmmap.go
Normal file
@ -0,0 +1,2 @@
|
||||
// MMAP
|
||||
package gmmap
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user