support

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MIT Imports: 6 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEnv added in v0.1.0

func CreateEnv() error

func GetDatabaseConfig added in v0.1.2

func GetDatabaseConfig() map[string]string

GetDatabaseConfig Get database config from ENV.

func GetLineNum added in v0.1.2

func GetLineNum(file string) int

GetLineNum Get file line num.

func RunInTest added in v0.1.2

func RunInTest() bool

Types

type Kernel

type Kernel interface {
	Middleware() []gin.HandlerFunc
}

type ServiceProvider

type ServiceProvider interface {
	//Boot Bootstrap any application services after register.
	Boot()
	//Register Register any application services.
	Register()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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