env

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IConfig

type IConfig interface {
	GetEnv() value_types.EnvConst
}

type RequiredConfig added in v1.0.1

type RequiredConfig struct {
	Env value_types.EnvConst `yaml:"env"`
}

do composition with this struct, this struct is design to work with viper

func (RequiredConfig) GetEnv added in v1.0.1

func (c RequiredConfig) GetEnv() value_types.EnvConst

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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