Skip to content

Commit

Permalink
Fix typo in a comment (#266)
Browse files Browse the repository at this point in the history
Co-authored-by: alex-theqoos <[email protected]>
  • Loading branch information
mswdevsla and alex-theqoos authored Sep 18, 2020
1 parent fcd0515 commit 61b7223
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion file.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ func (f *File) WriteTo(w io.Writer) (int64, error) {
// SaveToIndent writes content to file system with given value indention.
func (f *File) SaveToIndent(filename, indent string) error {
// Note: Because we are truncating with os.Create,
// so it's safer to save to a temporary file location and rename afte done.
// so it's safer to save to a temporary file location and rename after done.
buf, err := f.writeToBuffer(indent)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion ini.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ type LoadOptions struct {
UnparseableSections []string
// KeyValueDelimiters is the sequence of delimiters that are used to separate key and value. By default, it is "=:".
KeyValueDelimiters string
// KeyValueDelimiters is the delimiter that are used to separate key and value output. By default, it is "=".
// KeyValueDelimiterOnWrite is the delimiter that are used to separate key and value output. By default, it is "=".
KeyValueDelimiterOnWrite string
// ChildSectionDelimiter is the delimiter that is used to separate child sections. By default, it is ".".
ChildSectionDelimiter string
Expand Down

0 comments on commit 61b7223

Please sign in to comment.