Documentation ¶ Index ¶ func UnmarshalTo[T any](o Unmarshaler, a any) (t T, err error) type IndentMarshaler type Marshaler type Unmarshaler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func UnmarshalTo ¶ func UnmarshalTo[T any](o Unmarshaler, a any) (t T, err error) Types ¶ type IndentMarshaler ¶ type IndentMarshaler interface { MarshalIndent(v any) ([]byte, error) MarshalIndentString(v any) (string, error) MustMarshalIndent(v any) []byte MustMarshalIndentString(v any) string } type Marshaler ¶ type Marshaler interface { Marshal(v any) ([]byte, error) MarshalString(v any) (string, error) MustMarshal(v any) []byte MustMarshalString(v any) string } type Unmarshaler ¶ type Unmarshaler interface { Unmarshal(bs []byte, v any) error UnmarshalString(s string, v any) error MustUnmarshal(bs []byte, v any) MustUnmarshalString(s string, v any) } Source Files ¶ View all Source files helper.gointerface.go Directories ¶ Show internal Expand all Path Synopsis json yaml Click to show internal directories. Click to hide internal directories.