viperkit

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalCurrentFile

func UnmarshalCurrentFile(currentFile string) (*viper.Viper, error)

func UnmarshalCurrentFileToT

func UnmarshalCurrentFileToT[T any](currentFile string) (*T, error)

func UnmarshalFile

func UnmarshalFile(filePath string) (*viper.Viper, error)

func UnmarshalFileToT

func UnmarshalFileToT[T any](configFile string) (*T, error)

func UnmarshalS

func UnmarshalS(text string) (*viper.Viper, error)

func UnmarshalSToT

func UnmarshalSToT[T any](text string) (*T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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