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
For example it turns this
const REGEXP_WHOLE = // [1] Return value `^\s*` + REGEXP_TYPE + // 3+1 = [4] Function name `(gl\w+)\s*` + // [5] Argument list `\((` + REGEXP_ARG_LIST + `)\)\s*$` // ... returnType := submatches[1] funcName := submatches[4] argList := submatches[5]
into
Especially first case is annoying. Is it at least a way to locally disable it with comments like in other similar tools i.e. like that?
// gofmt off blablabla // gofmt on
The text was updated successfully, but these errors were encountered:
No, there's no such mechanism.
You'll have to find another way to reformat your code to make both gofmt and yourself happy.
As an aside, NAMES_LIKE_THIS should be NamesLikeThis or namesLikeThis in Go. See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
Sorry, something went wrong.
@bradfitz Ok, thanks for noticing about constants.
No branches or pull requests
For example it turns this
into
Especially first case is annoying. Is it at least a way to locally disable it with comments like in other similar tools i.e. like that?
The text was updated successfully, but these errors were encountered: