Documentation
¶
Index ¶
- func FromBytes[T any](bData []byte) (*T, error)
- func FromString[T any](str string) (*T, error)
- func MustFromBytes[T any](ctx context.Context, bData []byte) *T
- func MustFromString[T any](str string) *T
- func MustOfBytes[T any](ctx context.Context, ptr *T, bData []byte)
- func MustOfString[T any](ctx context.Context, ptr *T, str string)
- func MustToBytes(ctx context.Context, obj interface{}) []byte
- func MustToString(ctx context.Context, obj interface{}) string
- func OfBytes[T any](ptr *T, bData []byte) error
- func OfString[T any](ptr *T, str string) error
- func ToBytes(obj interface{}) ([]byte, error)
- func ToString(obj interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromString ¶
func MustFromString ¶
func MustToBytes ¶
func MustToString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.