1
1
mirror of https://github.com/go-gitea/gitea synced 2025-09-28 03:28:13 +00:00

upgrade gopkg.in/ini.v1 (#8500)

ini released v1.48.0 and deprecated the ini.AllCapsUnderscore symbol, as
such, during the upgrade we migrated to using ini.SnackCase.
This commit is contained in:
Colin Arnott
2019-10-15 15:45:39 +00:00
committed by zeripath
parent 9b9b67cd31
commit 80655026d2
12 changed files with 195 additions and 99 deletions

16
vendor/gopkg.in/ini.v1/README.md generated vendored
View File

@@ -28,22 +28,6 @@ $ go get gopkg.in/ini.v1
Please add `-u` flag to update in the future.
## Go Modules
For historical reason, people use two different import paths for this package: `github.com/go-ini/ini` and `gopkg.in/ini.v1`. If you get error similar to the following one:
```
go: finding github.com/go-ini/ini v0.0.0-00010101000000-000000000000
go: github.com/go-ini/ini@v0.0.0-00010101000000-000000000000: unknown revision 000000000000
go: error loading module requirements
```
It is because one of your dependencies is using deprecated import path `github.com/go-ini/ini`, you can make a quick fix by adding the following line to your `go.mod` file (`v.1.44.0` was the latest version tagged on `master` branch):
```
replace github.com/go-ini/ini => gopkg.in/ini.v1 v1.44.0
```
## Getting Help
- [Getting Started](https://ini.unknwon.io/docs/intro/getting_started)