ut

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CfgItemRedis = 0x01
	CfgItemMySQL = 0x02
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RedisDSN string `yaml:"redis_dsn"`
	MysqlDSN string `yaml:"mysql_dsn"`
}

func SetupAndCheckUTConfig

func SetupAndCheckUTConfig(checkItems int, t *testing.T) *Config

func SetupAndCheckUTConfigGetEx

func SetupAndCheckUTConfigGetEx(fileName string, configPaths []string, checkItems int, t *testing.T) *Config

func SetupUTConfig

func SetupUTConfig() *Config

func SetupUTConfigEx

func SetupUTConfigEx(fileName string, configPaths []string) *Config

Jump to

Keyboard shortcuts

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