feat: added support for configcenter listening and logger hot-reloading #1475
Annotations
9 errors
review:
configcenter/nacos_load_test.go#L53
[golangci] reported by reviewdog 🐶
undeclared name: `Convey` (typecheck)
Raw Output:
configcenter/nacos_load_test.go:53:2: undeclared name: `Convey` (typecheck)
Convey("Test NewNacosConfig", t, func() {
^
|
review:
configcenter/nacos_load_test.go#L58
[golangci] reported by reviewdog 🐶
undeclared name: `So` (typecheck)
Raw Output:
configcenter/nacos_load_test.go:58:3: undeclared name: `So` (typecheck)
So(err, ShouldBeNil)
^
|
review:
configcenter/nacos_load_test.go#L63
[golangci] reported by reviewdog 🐶
undeclared name: `So` (typecheck)
Raw Output:
configcenter/nacos_load_test.go:63:3: undeclared name: `So` (typecheck)
So(err, ShouldNotBeNil)
^
|
review:
configcenter/nacos_load_test.go#L69
[golangci] reported by reviewdog 🐶
undeclared name: `Convey` (typecheck)
Raw Output:
configcenter/nacos_load_test.go:69:2: undeclared name: `Convey` (typecheck)
Convey("TestNacosConfig_onChange", t, func() {
^
|
review:
configcenter/nacos_load_test.go#L72
[golangci] reported by reviewdog 🐶
undeclared name: `So` (typecheck)
Raw Output:
configcenter/nacos_load_test.go:72:3: undeclared name: `So` (typecheck)
So(err, ShouldBeNil)
^
|
review:
configcenter/nacos_load_test.go#L92
[golangci] reported by reviewdog 🐶
undeclared name: `Convey` (typecheck)
Raw Output:
configcenter/nacos_load_test.go:92:3: undeclared name: `Convey` (typecheck)
Convey("Test onChange with valid input", func() {
^
|
review:
configcenter/load.go#L25
[golangci] reported by reviewdog 🐶
"gopkg.in/yaml.v3" imported but not used (typecheck)
Raw Output:
configcenter/load.go:25:2: "gopkg.in/yaml.v3" imported but not used (typecheck)
"gopkg.in/yaml.v3"
^
|
review:
configcenter/nacos_load_test.go#L30
[golangci] reported by reviewdog 🐶
"github.com/smartystreets/goconvey/convey" imported but not used (typecheck)
Raw Output:
configcenter/nacos_load_test.go:30:2: "github.com/smartystreets/goconvey/convey" imported but not used (typecheck)
. "github.com/smartystreets/goconvey/convey"
^
|
review:
pkg/config/config_load.go#L32
[golangci] reported by reviewdog 🐶
"gopkg.in/yaml.v3" imported but not used (typecheck)
Raw Output:
pkg/config/config_load.go:32:2: "gopkg.in/yaml.v3" imported but not used (typecheck)
"gopkg.in/yaml.v3"
^
|