From 729bbf76c6a9cb3329bf4da40a84ed3854065f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Mon, 19 Sep 2022 10:43:06 +0800 Subject: [PATCH] - update fun --- api.go | 5 ++++- const.go | 2 +- gin.go | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) 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 {