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

Feature: ability to provide custom imports sorter function #92

Open
rzajac opened this issue Jun 23, 2022 · 0 comments
Open

Feature: ability to provide custom imports sorter function #92

rzajac opened this issue Jun 23, 2022 · 0 comments

Comments

@rzajac
Copy link

rzajac commented Jun 23, 2022

Give user ability to provide custom imports sorter function.

sort.Strings(paths)

Also it would be nice to have ability to put empty lines to achieve imports like this:

import (
	"errors"
	"fmt"
	"testing"

	"github.com/rs/zerolog"
	"github.com/rzajac/zrr/zrrtest"
	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/mock"
	"github.com/stretchr/testify/require"
	"github.com/stretchr/testify/suite"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant