initial

package
v0.0.0-...-96a791e Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MulanPSL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const ConfDir = "/home/weiz/Documents/gocode/go_shop_learn/resource/config/"

Variables

View Source
var (
	IDNumberMatcher = regexp.MustCompile(`^(\d{17})([0-9]|X|x)$`)
)

Functions

func InitConfig

func InitConfig() error

func InitDB

func InitDB() error

func InitLogger

func InitLogger() error

func InitRedis

func InitRedis() error

func InitRouter

func InitRouter() *gin.Engine

func InitValidator

func InitValidator() error

func RunServer

func RunServer(engine *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