Skip to content

Fix Struct and Interface Syntax Issues #7

Description

@charlespascoe
  • Multiline comma not highlighted in structs e.g. the , isn't highlighted:
type Foo struct {
    A,
    B string
}
  • Semicolons not highlighted in interfaces
  • Embedded type with tag not highlighted as type, e.g. Bar isn't highlighted as a type:
type Foo struct {
    Bar `json:"bar"`
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions