Releases: kamilsk/go-tools
v0.12.0
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install octolab/tap/goimports. - The installation is also possible by
$ curl -sSfL https://install.octolab.org/goimports | sh -s -- -b /usr/local/bin
Related issues
made with ❤️ for everyone by OctoLab
v0.11.1
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install kamilsk/tap/goimports. - The installation is also possible by
$ curl -sSfL https://install.octolab.org/goimports | sh -s -- -b /usr/local/bin
Related issues
made with ❤️ for everyone by OctoLab
v0.11.0
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install kamilsk/tap/goimports. - The installation is also possible by
curl -sSfL https://install.octolab.org/kamilsk/goimports | sh -s -- -b /usr/local/bin.
Related issues
v0.10.0
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install kamilsk/tap/goimports. - The installation is also possible by
curl -sSfL https://install.octolab.org/kamilsk/goimports | sh -s -- -b /usr/local/bin.
Related issues
v0.9.3
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install kamilsk/tap/goimports. - The installation is also possible by
curl -sSfL https://install.octolab.org/kamilsk/goimports | sh -s -- -b /usr/local/bin.
Related issues
v0.9.2
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install kamilsk/tap/goimports. - The installation is also possible by
curl -sSfL https://install.octolab.org/kamilsk/goimports | sh -s -- -b /usr/local/bin.
Related issues
v0.9.1
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install kamilsk/tap/goimports. - The installation is also possible by
curl -sSfL https://install.octolab.org/kamilsk/goimports | sh -s -- -b /usr/local/bin.
Related issues
v0.9.0
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install kamilsk/tap/goimports. - The installation is also possible by
curl -sSfL https://install.octolab.org/kamilsk/goimports | sh -s -- -b /usr/local/bin.
Related issues
v0.8.0
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install kamilsk/tap/goimports. - The installation is also possible by
curl -sSfL https://install.octolab.org/kamilsk/goimports | sh -s -- -b /usr/local/bin.
Related issues
v0.7.0
Motivation
As a Go developer, I actively use goimports as a code formatter, but it has
non-deterministic behavior that affects a final diff. For example, for the input
import (
"context"
"github.com/pkg/b"
"github.com/pkg/a"
"github.com/pkg/y"
"github.com/pkg/x"
"github.com/pkg/z"
)the output will be
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)The proper result for me is
import (
"context"
"github.com/pkg/a"
"github.com/pkg/b"
"github.com/pkg/x"
"github.com/pkg/y"
"github.com/pkg/z"
)So, I need to patch its behaviour and make a result deterministic.
What's changed
- The
goimportshas the deterministic behaviour. - The tool is available by
brew install kamilsk/tap/goimports. - The installation is also possible by
curl -sSfL https://install.octolab.org/kamilsk/goimports | sh -s -- -b /usr/local/bin.