Skip to content

Feature: ability to provide custom imports sorter functionΒ #92

Open
@rzajac

Description

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"
)

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