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
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
N/A (production version of godoc.org)
What operating system and processor architecture are you using (go env)?
N/A
What did you do?
My package's [City][https://github.com/alercah/wonderbot/blob/master/wonders/city.go#L19] struct contains a mix of exported and unexported fields, arranged logically rather than grouping the exported fields together.
In the [documentation][https://godoc.org/github.com/alercah/wonderbot/wonders#City], blank lines are generated in between exported fields when an unexported field intervenes.
Similarly, [Action][https://github.com/alercah/wonderbot/blob/master/wonders/action.go#L8] has one unexported field, at the beginning of the struct. The [documentation][https://godoc.org/github.com/alercah/wonderbot/wonders#Action] includes a blank line at the start of the struct.
What did you expect to see?
There should be no blank lines in the godoc version of the struct. Alternatively, if this is a style rule, there should be a lint check for it
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?N/A (production version of godoc.org)
What operating system and processor architecture are you using (
go env
)?N/A
What did you do?
My package's [City][https://github.com/alercah/wonderbot/blob/master/wonders/city.go#L19] struct contains a mix of exported and unexported fields, arranged logically rather than grouping the exported fields together.
In the [documentation][https://godoc.org/github.com/alercah/wonderbot/wonders#City], blank lines are generated in between exported fields when an unexported field intervenes.
Similarly, [Action][https://github.com/alercah/wonderbot/blob/master/wonders/action.go#L8] has one unexported field, at the beginning of the struct. The [documentation][https://godoc.org/github.com/alercah/wonderbot/wonders#Action] includes a blank line at the start of the struct.
What did you expect to see?
There should be no blank lines in the godoc version of the struct. Alternatively, if this is a style rule, there should be a lint check for it
The text was updated successfully, but these errors were encountered: