-
Notifications
You must be signed in to change notification settings - Fork 29
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
gox => gogen #402
gox => gogen #402
Conversation
@@ -138,12 +138,12 @@ func codeErrorTestDo(t *testing.T, pkg *gox.Package, msg string, source func(pkg | |||
} | |||
source(pkg) | |||
var b bytes.Buffer | |||
gox.WriteTo(&b, pkg, "") | |||
gogen.WriteTo(&b, pkg, "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[golangci-lint] Error return value of gogen.WriteTo
is not checked (errcheck)
If you have any questions about this comment, feel free to raise an issue here:
func(cb *gox.CodeBuilder) { | ||
cb.Member("string", gox.MemberFlagAutoProperty) | ||
func(cb *gogen.CodeBuilder) { | ||
cb.Member("string", gogen.MemberFlagAutoProperty) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[golangci-lint] Error return value of cb.Member
is not checked (errcheck)
If you have any questions about this comment, feel free to raise an issue here:
@@ -1408,7 +1408,7 @@ func TestDeleteVarDecl(t *testing.T) { | |||
} | |||
defs.Delete("b") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[golangci-lint] Error return value of defs.Delete
is not checked (errcheck)
If you have any questions about this comment, feel free to raise an issue here:
@@ -1408,7 +1408,7 @@ func TestDeleteVarDecl(t *testing.T) { | |||
} | |||
defs.Delete("b") | |||
defs.Delete("c") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[golangci-lint] Error return value of defs.Delete
is not checked (errcheck)
If you have any questions about this comment, feel free to raise an issue here:
t.Fatal("cb.Member v.attr no error?", kind) | ||
} | ||
cb.Member("attr", gox.MemberFlagMethodAlias) | ||
cb.Member("attr", gogen.MemberFlagMethodAlias) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[golangci-lint] Error return value of cb.Member
is not checked (errcheck)
If you have any questions about this comment, feel free to raise an issue here:
Debug(func(cb *gox.CodeBuilder) { | ||
cb.Member("len", gox.MemberFlagAutoProperty) | ||
Debug(func(cb *gogen.CodeBuilder) { | ||
cb.Member("len", gogen.MemberFlagAutoProperty) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[golangci-lint] Error return value of cb.Member
is not checked (errcheck)
If you have any questions about this comment, feel free to raise an issue here:
No description provided.