You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be consistently format all *.go files to have an empty line above the package declaration.
Without the empty line, go fmt will treat the license header as the package doc and reformat it according to Go doc format standards, and IDE will show the license text as package documentation 🙃
The goal is to add a new step to take care of the license headers as part of the go fmt make goal to keep it consistent across all files it is present.
We should be consistently format all *.go files to have an empty line above the package declaration.
Without the empty line,
go fmt
will treat the license header as the package doc and reformat it according to Go doc format standards, and IDE will show the license text as package documentation 🙃Originally posted by @ckadner in #68 (comment)
The text was updated successfully, but these errors were encountered: