Documentation
¶
Index ¶
- func Join(bufa []byte, bufbs ...[]byte) ([]byte, error)
- func MarshalConcat(va any, vbs ...any) ([]byte, error)
- func MarshalIndentConcat(va any, prefix, indent string, vbs ...any) ([]byte, error)
- func ReadConfigFile(name string, v any) error
- func UnmarshalConcat(data []byte, va any, vbs ...any) error
- func WriteConfigFile(name string, v any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalConcat ¶
MarshalConcat returns the JSON encoding of va, vbs..., ignore conflict keys of json if meet later.
func MarshalIndentConcat ¶
func ReadConfigFile ¶
func UnmarshalConcat ¶
Unmarshal parses the JSON-encoded data and stores the result in the value pointed to by v. If v is nil or not a pointer, Unmarshal returns an InvalidUnmarshalError. ignore conflict keys of json if meet later.
func WriteConfigFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.