Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not Work #1495

Open
514366607 opened this issue Jul 22, 2023 · 1 comment
Open

Can not Work #1495

514366607 opened this issue Jul 22, 2023 · 1 comment

Comments

@514366607
Copy link

git diff master

diff --git a/etcd/etcdclient/v2/mypicker/only.go b/etcd/etcdclient/v2/mypicker/only.go
index e88cd9a..60eeed8 100644
--- a/etcd/etcdclient/v2/mypicker/only.go
+++ b/etcd/etcdclient/v2/mypicker/only.go
@@ -10,7 +10,6 @@ func NewOnlyPickerBuilder() *OnlyPickerBuilder {
        return &OnlyPickerBuilder{}
 }
 
-// OnlyPickerBuilder 唯一对外服务
 type OnlyPickerBuilder struct{}
golint ./...
etcd/etcdclient/v2/mypicker/only.go:13:6: exported type OnlyPickerBuilder should have comment or be unexported
golint ./... | reviewdog -efm="%f:%l:%c: %m" -diff="git diff master"

No output ????
@514366607
Copy link
Author

514366607 commented Jul 22, 2023

go version
go version go1.20.5 darwin/amd64

go install github.com/reviewdog/reviewdog/cmd/reviewdog@v0.14.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant