diff --git a/api.go b/api.go index 9aefe1a..e50560f 100644 --- a/api.go +++ b/api.go @@ -11,8 +11,11 @@ import ( ) // ApiClientFun *ApiClient 驱动 +type ApiClientFun func() *ApiClient + +// ApiClientJsonFun *ApiClient 驱动 // jsonStatus bool json状态 -type ApiClientFun func() (*ApiClient, bool) +type ApiClientJsonFun func() (*ApiClient, bool) // ApiClient 接口 type ApiClient struct { diff --git a/const.go b/const.go index 1e03512..d1f9d5f 100644 --- a/const.go +++ b/const.go @@ -1,5 +1,5 @@ package golog const ( - Version = "1.0.81" + Version = "1.0.82" ) diff --git a/gin.go b/gin.go index 4d08c27..390d77f 100644 --- a/gin.go +++ b/gin.go @@ -18,8 +18,11 @@ import ( ) // GinClientFun *GinClient 驱动 +type GinClientFun func() *GinClient + +// GinClientJsonFun *GinClient 驱动 // jsonStatus bool json状态 -type GinClientFun func() (*GinClient, bool) +type GinClientJsonFun func() (*GinClient, bool) // GinClient 框架 type GinClient struct {