feat(comment): add comment on a struct field
This commit is contained in:
parent
3cd45c45a3
commit
9bffa2c212
9 changed files with 100 additions and 7 deletions
9
spec/fixtures/comment/var_struct_fields_output.go
vendored
Normal file
9
spec/fixtures/comment/var_struct_fields_output.go
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package main
|
||||
|
||||
func main() {
|
||||
var s struct {
|
||||
API string
|
||||
// Key
|
||||
Key string
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue