Documentation ¶
Index ¶
- func ConvertMap[T any](m Map) (T, error)
- func GetPathHelper[T any](m Map, name string) T
- func GetValueForSetFlag(setFlags []string, path string) string
- type Map
- func (m Map) GetPath(name string) (any, bool)
- func (m Map) GetPathMap(s string) (Map, bool)
- func (m Map) GetPathString(s string) string
- func (m Map) JSON() string
- func (m Map) MergeFrom(other Map)
- func (m Map) SetPath(paths string, value any) error
- func (m Map) SetPaths(paths ...string) error
- func (m Map) SetSpecPaths(paths ...string) error
- func (m Map) YAML() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertMap ¶
func GetPathHelper ¶
func GetValueForSetFlag ¶
Types ¶
type Map ¶
func MapFromJSON ¶
func MapFromYAML ¶
func MustCastAsMap ¶
func (Map) GetPathString ¶
func (Map) SetSpecPaths ¶
Click to show internal directories.
Click to hide internal directories.