Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ func (dec *Decoder) KnownFields(enable bool) {
}

// Decode reads the next YAML-encoded value from its input
// and stores it in the value pointed to by v.
// and stores it in the value pointed to by v. If there are
// no more yaml documents to decode (or there never was, for
// example if the Decoder's [io.Reader] never had any bytes),
// it will return an [io.EOF].
//
// See the documentation for Unmarshal for details about the
// conversion of YAML into a Go value.
Expand Down