Documentation
¶
Index ¶
- func MustJSONToMap(s string) map[string]any
- func MustJSONToSlice(s string) []any
- func MustRenderTemplate(v string, data any) string
- func MustYamlToMap(s string) map[string]any
- func MustYamlToSlice(s string) []any
- func RenderTemplate(v string, data any) (string, error)
- func ToPtr[T any](v T) *T
- func UnmarshalJSON[T any](s string) (T, error)
- func UnmarshalYaml[T any](s string) (T, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustJSONToMap ¶
func MustJSONToSlice ¶
func MustRenderTemplate ¶
func MustYamlToMap ¶
func MustYamlToSlice ¶
func UnmarshalJSON ¶
func UnmarshalYaml ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.