1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

update gitea.com/macaron/macaron to 1.4.0 (#9608)

This commit is contained in:
6543
2020-01-05 15:27:25 +01:00
committed by Antoine GIRARD
parent 4f54a4628a
commit a5a79f702d
12 changed files with 153 additions and 62 deletions

9
vendor/gopkg.in/ini.v1/ini.go generated vendored
View File

@@ -29,7 +29,7 @@ const (
// Maximum allowed depth when recursively substituing variable names.
depthValues = 99
version = "1.48.0"
version = "1.51.1"
)
// Version returns current package version literal.
@@ -111,8 +111,15 @@ type LoadOptions struct {
KeyValueDelimiters string
// PreserveSurroundedQuote indicates whether to preserve surrounded quote (single and double quotes).
PreserveSurroundedQuote bool
// DebugFunc is called to collect debug information (currently only useful to debug parsing Python-style multiline values).
DebugFunc DebugFunc
// ReaderBufferSize is the buffer size of the reader in bytes.
ReaderBufferSize int
}
// DebugFunc is the type of function called to log parse events.
type DebugFunc func(message string)
// LoadSources allows caller to apply customized options for loading from data source(s).
func LoadSources(opts LoadOptions, source interface{}, others ...interface{}) (_ *File, err error) {
sources := make([]dataSource, len(others)+1)