1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-05 13:15:11 +02:00

17 Commits

Author SHA1 Message Date
haiyux
00c05e82a3
test:remove testify go mod (#1766)
* test:remove testify go mod

* tidy go mdo

* fix test
2022-01-14 10:02:42 +08:00
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>
2021-11-16 13:22:35 +08:00
Windfarer
f3e75bffca
feat: update go version to 1.16 (#1536) 2021-10-08 20:49:56 +08:00
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
2021-09-17 04:20:42 +08:00
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
2021-08-31 10:14:57 +08:00
包子
925e55a04d
fix(config): replace text with "${}" only (#1375)
* fix(config): replace text with "${}" only
2021-08-25 23:52:25 +08:00
包子
817c13a80c
fix: code style (#1342) 2021-08-16 10:53:06 +08:00
徐胖
3026f9490e
chore(config/env): polish watcher (#1341)
* chore(config/env): polish watcher
2021-08-16 10:15:01 +08:00
月墨夕
fdce5f0746
fix:config groutine(watch) leak (#1327)
* fix:config goroutine(watch) Leak
2021-08-13 14:09:53 +08:00
Yongzheng Lai
b68265c365
fix: using t.TempDir (#1289) 2021-08-02 18:51:31 +08:00
徐胖
025ae38acc
fix(config/env): fix env.load() index out of range (#1252)
* fix(config/env): env.load() may panic
2021-07-26 20:08:48 +08:00
Kagaya
3660a8d65d
fix(env): index out panic when env key is preifix (#1247) 2021-07-25 20:39:03 +08:00
Tony Chen
cb7fc2d72a
Revert "replace env underscore to dot (#1229)" (#1235)
This reverts commit 38c9def445c97b4b06497dee944d030ea1bf3a53.
2021-07-24 00:30:58 +08:00
longxboy
38c9def445
replace env underscore to dot (#1229)
* replace env underscore to dot

* Compatible with dot format
2021-07-23 22:38:18 +08:00
徐胖
77d2cfb653
chore(config/env): minor refactor (#1232)
* chore(config/env): minor refactor
2021-07-23 22:30:28 +08:00
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
2021-07-21 15:58:43 +08:00
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
2021-07-14 13:10:18 +08:00