initialize

package
v0.0.0-...-6f9dc6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnLocale = "en"
	ZhLocale = "zh"
)

Variables

This section is empty.

Functions

func GetTranslator

func GetTranslator() ut.Translator

func InitConfig

func InitConfig()

InitConfig 初始化配置文件

func InitGin

func InitGin()

func InitLogger

func InitLogger()

func InitSrvConn

func InitSrvConn()

func InitValidator

func InitValidator(locale string)

InitValidator 初始验证器

func Routers

func Routers() *gin.Engine

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL