--- a/vendor/gopkg.in/ini.v1/ini.go Tue Aug 23 22:33:28 2022 +0200
+++ b/vendor/gopkg.in/ini.v1/ini.go Tue Aug 23 22:39:43 2022 +0200
@@ -1,5 +1,3 @@
-// +build go1.6
-
// Copyright 2014 Unknwon
//
// Licensed under the Apache License, Version 2.0 (the "License"): you may
@@ -25,15 +23,15 @@
)
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"
@@ -125,6 +123,8 @@
ReaderBufferSize int
// AllowNonUniqueSections indicates whether to allow sections with the same name multiple times.
AllowNonUniqueSections bool
+ // AllowDuplicateShadowValues indicates whether values for shadowed keys should be deduplicated.
+ AllowDuplicateShadowValues bool
}
// DebugFunc is the type of function called to log parse events.