1
0
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 18:15:57 +01:00
Commit Graph

2 Commits

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
2023-06-02 17:27:30 +08:00
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
2023-05-24 11:37:22 +08:00