Skip to content

Nolinting specific go vet check #3971

Closed Answered by kehiy
anuramat asked this question in Q&A
Discussion options

You must be logged in to vote

hello
first of all, using fieldalignment is not make sense at all in Golang!
but you have 2 ways to make it done, the first one is to make the file ignored (for fieldalignment) and the second one is to use //nolint:govet

but IMHO it's better to don't use fieldalignment at all!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anuramat
Comment options

Answer selected by anuramat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants