mirror of
https://gitee.com/johng/gf
synced 2026-07-06 21:45:34 +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.
|
||||
|
||||
|
||||
// 随机数管理
|
||||
package grand
|
||||
|
||||
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 gregx
|
||||
|
||||
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 gutil
|
||||
|
||||
// 便利数组查找字符串索引位置,如果不存在则返回-1
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
// This Source Code Form is subject to the terms of the MIT License.
|
||||
// If a copy of the MIT was not distributed with this file,
|
||||
// You can obtain one at https://gitee.com/johng/gf.
|
||||
//
|
||||
|
||||
// 通用数据验证工具
|
||||
// 本来打算取名gvalidator的,名字太长了,缩写一下
|
||||
/*
|
||||
@ -50,7 +50,6 @@ in 格式:in:value1,value2,... 说明:参
|
||||
not-in 格式:not-in:value1,value2,... 说明:参数值不应该在value1,value2,...中(字符串匹配)
|
||||
regex 格式:regex:pattern 说明:参数值应当满足正则匹配规则pattern
|
||||
*/
|
||||
|
||||
package gvalid
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user