Documentation ¶
Index ¶
- func Contains[T comparable](arr []T, str T) bool
- func Fallback(str ...string) string
- func JoinV(separator string, items ...string) string
- func MapAppsettingsToEnv(in *string) (map[string]string, error)
- func ReadConfig[T craneConfig.Configuration | dagentConfig.Configuration](cfg *T) error
- func RemoveJSONComment(strIn []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](arr []T, str T) bool
simple contain check, not part of the stdlib unfortunately
func ReadConfig ¶
func ReadConfig[T craneConfig.Configuration | dagentConfig.Configuration](cfg *T) error
func RemoveJSONComment ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.