package
0.0.0-20230306131847-26f457599b8d
Repository: https://github.com/xiaoyawei/buf.git
Documentation: pkg.go.dev

# Functions

GetJSONStringOrStringValue returns the JSON string for the RawMessage if the RawMessage is a string, and the raw value as a string otherwise.
InterfaceSliceOrStringToCommaSepString parses the input as a slice or string into a comma separated string.
No description provided by the author
MarshalYAML marshals the given value into YAML.
NewYAMLDecoderNonStrict creates a new YAML decoder from the reader.
NewYAMLDecoderStrict creates a new YAML decoder from the reader.
NewYAMLEncoder creates a new YAML encoder reader from the Writer.
UnmarshalJSONNonStrict unmarshals the data as JSON, returning a user error on failure.
UnmarshalJSONOrYAMLNonStrict unmarshals the data as JSON or YAML in order, returning a user error with both errors on failure.
UnmarshalJSONOrYAMLStrict unmarshals the data as JSON or YAML in order, returning a user error with both errors on failure.
UnmarshalJSONStrict unmarshals the data as JSON, returning a user error on failure.
UnmarshalYAMLNonStrict unmarshals the data as YAML, returning a user error on failure.
UnmarshalYAMLStrict unmarshals the data as YAML, returning a user error on failure.