File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 14
14
15
15
package ini
16
16
17
- const (
17
+ var (
18
18
// Deprecated: Use "DefaultSection" instead.
19
19
DEFAULT_SECTION = DefaultSection
20
- )
21
-
22
- var (
23
20
// Deprecated: AllCapsUnderscore converts to format ALL_CAPS_UNDERSCORE.
24
21
AllCapsUnderscore = SnackCase
25
22
)
Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ import (
23
23
)
24
24
25
25
const (
26
- // DefaultSection is the name of default section. You can use this constant or the string literal.
27
- // In most of cases, an empty string is all you need to access the section.
28
- DefaultSection = "DEFAULT"
29
-
30
26
// Maximum allowed depth when recursively substituing variable names.
31
27
depthValues = 99
32
28
)
33
29
34
30
var (
31
+ // DefaultSection is the name of default section. You can use this var or the string literal.
32
+ // In most of cases, an empty string is all you need to access the section.
33
+ DefaultSection = "DEFAULT"
34
+
35
35
// LineBreak is the delimiter to determine or compose a new line.
36
36
// This variable will be changed to "\r\n" automatically on Windows at package init time.
37
37
LineBreak = "\n "
You can’t perform that action at this time.
0 commit comments