Commit Graph

2 Commits (e9105ac281f8671142fdf74e46b45e6524c63e0a)

Author SHA1 Message Date
wxiaoguang de4a21fcb4
Refactor INI package (first step) ()
The INI package has many bugs and quirks, and in fact it is
unmaintained.

This PR is the first step for the INI package refactoring: 

* Use Gitea's "config_provider" to provide INI access
* Deprecate the INI package by golangci.yml rule
wxiaoguang c21605951b
Make environment-to-ini support loading key value from file ()
Replace 

Close 
Close 
Close 

Major changes:

1. Move a lot of code from `environment-to-ini.go` to `config_env.go` to
make them testable.
2. Add `__FILE` support
3. Update documents
4. Add tests