Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatter request: sort methods #32

Open
hsblhsn opened this issue Feb 22, 2021 · 1 comment
Open

Formatter request: sort methods #32

hsblhsn opened this issue Feb 22, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@hsblhsn
Copy link

hsblhsn commented Feb 22, 2021

Hi @daixiang0,
Can you build a project to sort methods of a struct or interface?

type a struct{}

func (*a) C(){}
func (*a) D(){}
func (*a) A(){}
func (*a) B(){}
func (*a) Y(){}

this code should be

type a struct{}

func (*a) A(){}
func (*a) B(){}
func (*a) C(){}
func (*a) D(){}
func (*a) Y(){}

Thank you!

@daixiang0
Copy link
Owner

daixiang0 commented May 30, 2022

Thanks for your input, it is not in my plan but if anyone is interested in it and posts a PR, I am happy to review it.

@daixiang0 daixiang0 added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants