We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
go vet copylocks
Have you read the project readme?
Describe your question A clear and concise description of what the question is. Include errors and go source files.
How to avoid go vet copylocks warnings?
e.g.
// goverter:converter type Converter interface { Convert(source []Input) []Output } // generated gRPC code type Input struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } type Output struct { Name string }
goverter -ignoreUnexportedFields ./example/simple
generated.go
call of ***** copies lock value: ***** contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex
I want to use pointer.
The text was updated successfully, but these errors were encountered:
same issue here #37 (comment)
Sorry, something went wrong.
Thanks!
No branches or pull requests
Have you read the project readme?
Describe your question
A clear and concise description of what the question is. Include errors and go source files.
How to avoid
go vet copylocks
warnings?e.g.
generated.go
I want to use pointer.
![image](https://user-images.githubusercontent.com/3423547/207226252-50532468-aec9-4e97-b316-e60c509b4928.png)
The text was updated successfully, but these errors were encountered: