Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored and subpop committed Jan 12, 2024
1 parent 193939c commit 3c83590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func Marshal(v interface{}) ([]byte, error) {
// encode reflects on the values of rv, encoding them as INI data. If rv is not
// a pointer to a struct, an error is returned. encode makes two passes over
// the struct fields of rv. The first pass skips struct fields that are
// themselve structs, encoding all struct fields as "global" INI properties.
// themselves structs, encoding all struct fields as "global" INI properties.
// The second pass then encodes each struct field that *is* a struct as an
// INI section.
func encode(buf *bytes.Buffer, rv reflect.Value) error {
Expand Down

0 comments on commit 3c83590

Please sign in to comment.