Skip to content

Commit

Permalink
Changed the DefaultSection constant to a variable so that it may be a…
Browse files Browse the repository at this point in the history
…ltered for use with aws cli configs.
  • Loading branch information
jade-clarke committed Apr 17, 2022
1 parent 386cf30 commit b8f2098
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ini.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ import (
)

const (
// DefaultSection is the name of default section. You can use this constant or the string literal.
// In most of cases, an empty string is all you need to access the section.
DefaultSection = "DEFAULT"

// Maximum allowed depth when recursively substituing variable names.
depthValues = 99
)

var (
// DefaultSection is the name of default section. You can use this var or the string literal.
// In most of cases, an empty string is all you need to access the section.
DefaultSection = "DEFAULT"

// LineBreak is the delimiter to determine or compose a new line.
// This variable will be changed to "\r\n" automatically on Windows at package init time.
LineBreak = "\n"
Expand Down

0 comments on commit b8f2098

Please sign in to comment.