Documentation ¶
Index ¶
- func MustReadContentFile(filepath string) string
- func MustReadJsonFile(filepath string, v any)
- func MustReadYamlFile(filepath string, v any)
- func MustToJson(v any) string
- func MustToToml(key string, value any, path string) error
- func MustToYaml(v any) string
- func ReadContentFile(filepath string) ([]byte, error)
- func ReadFile(path string) (string, error)
- func ReadJsonFile(filepath string, v any) error
- func ReadYamlFile(filepath string, v any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustReadContentFile ¶
func MustReadJsonFile ¶
func MustReadYamlFile ¶
func MustToJson ¶
func MustToYaml ¶
func ReadContentFile ¶
func ReadJsonFile ¶
func ReadYamlFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.