完善包注释,便于godoc管理

This commit is contained in:
John
2018-01-03 10:38:53 +08:00
parent b0ebf48930
commit 27564157f3
41 changed files with 60 additions and 47 deletions

8
g/net/ghttp/ghttp.go Normal file
View File

@ -0,0 +1,8 @@
// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved.
//
// 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.
// 强大的HTTP Client及Server管理包
package ghttp

View File

@ -4,7 +4,6 @@
// If a copy of the MIT was not distributed with this file,
// You can obtain one at https://gitee.com/johng/gf.
package ghttp
import (

View File

@ -5,6 +5,7 @@
// You can obtain one at https://gitee.com/johng/gf.
//
// 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管理
package gipv6
import "gitee.com/johng/gf/g/util/gregx"

View File

@ -5,6 +5,7 @@
// You can obtain one at https://gitee.com/johng/gf.
//
// 路由管理
package grouter
import (
@ -27,7 +28,6 @@ type Router struct {
prules *gmap.StringStringMap // 打包规则
}
func New() *Router {
return &Router{
drules : gmap.NewStringStringMap(),

View File

@ -5,7 +5,6 @@
// You can obtain one at https://gitee.com/johng/gf.
// 局域网端口扫描
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.
// SMTP
package gsmtp
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.
// TCP服务端
package gtcp
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.
// UDP服务端
package gudp
import (