Categorygithub.com/starrykg/go-gin-frame
modulepackage
1.0.3
Repository: https://github.com/starrykg/go-gin-frame.git
Documentation: pkg.go.dev

# README

#gin 再次封装

import gf "xxx/go-gin-frame"

base := gf.GetGf()
go func() {
	//测试环境开放
	if configure.CmSysConf.GinMode != "release" {
		base.Gin.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))
	}
	defer func() {
		if err := recover(); err != nil {
			logger.Error(xxx, "HttpServer server is panic")
		}
	}()
	// 服务连接
	if err := base.Gin.Run( IP + ":8899"); err != nil && err != http.ErrServerClosed {
		logger.Trace(xxx, "HttpServer is listenning")
	}
}()

# Functions

return instance config.
No description provided by the author
get db if exists.
return instance.
return instance gin core.
return instance logger.
No description provided by the author
获取参数,不支持keys 0.
alias return instance gin core.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
传语言,I18N国际化.
No description provided by the author
传语言,I18N国际化.
No description provided by the author
No description provided by the author
No description provided by the author
alias name, If run it, do not use RunProcess.
转换默认值.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
It's a controller with a request process.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author