Skip to content

feature: Simple type-declaration statements #224

@qianxi0410

Description

@qianxi0410

As simplification of var declaration,Can you consider adding type declarations to the ranks of simplification?

exp:

type ExampleArgs struct {
	X int
}
type ExampleReply struct {
	Y int
}

after:

type (
	ExampleArgs struct {
		X int
	}
	ExampleReply struct {
		Y int
	}
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions