Documentation
¶
Index ¶
- func LoadConfigData(c *ioc.Container, parser Parser, data []byte)
- func LoadConfigFile(c *ioc.Container, file string)
- func MustUnmarshalConfig[T any](c *ioc.Container, name string) *T
- func ParseJSON[T any](data []byte, key string) (*T, error)
- func ParseTOML[T any](data []byte, key string) (*T, error)
- func ParseYAML[T any](data []byte, key string) (*T, error)
- func UnmarshalConfig[T any](c *ioc.Container, name string) (*T, error)
- type Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfigFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.