goSterna

package module
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: GPL-2.0 Imports: 7 Imported by: 1

README

goSterna

Documentation

Index

Constants

View Source
const (
	CtxServDiKey util.CtxKey = "ServiceDI"
)

Variables

This section is empty.

Functions

func GetDiByCtx added in v0.0.6

func GetDiByCtx(ctx context.Context) interface{}

func IniConfByEnv added in v0.0.6

func IniConfByEnv(path, env string, di interface{})

初始化設定檔,讀YAML檔

func InitConfByByte added in v0.0.6

func InitConfByByte(b []byte, di interface{})

func InitConfByFile added in v0.0.6

func InitConfByFile(f string, di interface{})

func InitConfByUri added in v0.0.6

func InitConfByUri(uri string, di interface{}) error

func InitDefaultConf added in v0.0.6

func InitDefaultConf(path string, di interface{})

Types

This section is empty.

Directories

Path Synopsis
api
err
mid
model

Jump to

Keyboard shortcuts

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