Eng Zer Jun
77b16286f8
refactor: move from io/ioutil to io and os packages ( #1633 )
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Windfarer
f3e75bffca
feat: update go version to 1.16 ( #1536 )
3 years ago
Kagaya
04bc0e63ba
test(middleware/tracing): tracing unit test enhancement ( #1484 )
...
* use t.Setenv
* add tracing test
* lint fix
* update go test env to go@1.17
* remove grep
* rename Transport
3 years ago
Kagaya
f7588a47de
fix: ci lint error ( #1391 )
...
* fix lint check
* fix lll lint error
* fix build error
* fix gomnd
* fix shadow declaration
* add make test command
* update
3 years ago
包子
925e55a04d
fix(config): replace text with "${}" only ( #1375 )
...
* fix(config): replace text with "${}" only
3 years ago
Yongzheng Lai
b68265c365
fix: using t.TempDir ( #1289 )
4 years ago
徐胖
025ae38acc
fix(config/env): fix env.load() index out of range ( #1252 )
...
* fix(config/env): env.load() may panic
4 years ago
Kagaya
3660a8d65d
fix(env): index out panic when env key is preifix ( #1247 )
4 years ago
徐胖
77d2cfb653
chore(config/env): minor refactor ( #1232 )
...
* chore(config/env): minor refactor
4 years ago
Kuiba
0e70bddaa9
fix(config): load env and file source order bug ( #1220 )
...
* fix config load env & file order bug
* fix watch issue
* return empty as each update can be resolved
4 years ago
Kagaya
7f394d0d0a
feat(env): add config env source ( #1181 )
...
* add config/env
* feat(env): add config env source
* fix: resolve map array & add test case
* remove return stop error
* using gob encoding to deep copy map
* fix ci failed
4 years ago