Documentation ¶
Index ¶
- func CamelToSnake(s string) string
- func ChangeJsonKeys(input []byte, f func(s string) string) []byte
- func FromStrings[T ~string](strings []string) []T
- func Must[T any](t *T, err error) T
- func NilToNil[I any, O any](f func(i I) O, i *I) *O
- func NilToNilError[I any, O any](f func(i I) (O, error), i *I) (*O, error)
- func Opt[T any](t *T) struct{ ... }
- func Pointer[T any](o T) *T
- func ToStrings[T fmt.Stringer](ts []T) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToSnake ¶
func FromStrings ¶
func NilToNil ¶
NilToNil receive function adopts function for converting any types to works with pointers
func NilToNilError ¶
NilToNilError receive function adopts function for converting any types to works with pointers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.