Documentation ¶
Index ¶
- func FromJSON[T any](ctx context.Context, ptr *T, raw []byte)
- func FromYAML[T any](ctx context.Context, ptr *T, raw []byte)
- func ToJSON(ctx context.Context, value any) []byte
- func ToYAML(ctx context.Context, value any) []byte
- func WithBuffer(fn func(*bytes.Buffer))
- func WriteFile(ctx context.Context, filePath string, contents []byte, mode fs.FileMode)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBuffer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.