Documentation ¶
Index ¶
- func EscapeIllegalCharacters(data string) string
- func EscapeIllegalCharactersJson(data json.RawMessage) json.RawMessage
- func Ptr[T any](v T) *T
- func ResolvePointers[T any](list []*T) []T
- func Ternary[T any](flag bool, first T, second T) T
- func Unmarshal[T any](v T, data []byte) (T, error)
- func ValurOrDefault[T any](v *T, d T) T
- func ZeroIfNil[T any](v *T) T
- type Interval
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeIllegalCharacters ¶
func EscapeIllegalCharactersJson ¶
func EscapeIllegalCharactersJson(data json.RawMessage) json.RawMessage
func ResolvePointers ¶
func ResolvePointers[T any](list []*T) []T
func ValurOrDefault ¶ added in v0.4.4
func ValurOrDefault[T any](v *T, d T) T
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.