Skip to content

Commit

Permalink
Merge pull request #93 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 2.0.2
  • Loading branch information
andyone authored Aug 12, 2023
2 parents bfd0b43 + 404e002 commit 4a44086
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
uses: essentialkaos/aligo-action@v2
with:
files: ./...
version: latest

Typos:
name: Typos
Expand Down
2 changes: 1 addition & 1 deletion aligo.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package main
import (
_ "embed"

CLI "github.com/essentialkaos/aligo/cli"
CLI "github.com/essentialkaos/aligo/v2/cli"
)

// ////////////////////////////////////////////////////////////////////////////////// //
Expand Down
6 changes: 3 additions & 3 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ import (
"github.com/essentialkaos/ek/v12/usage/man"
"github.com/essentialkaos/ek/v12/usage/update"

"github.com/essentialkaos/aligo/cli/support"
"github.com/essentialkaos/aligo/inspect"
"github.com/essentialkaos/aligo/v2/cli/support"
"github.com/essentialkaos/aligo/v2/inspect"
)

// ////////////////////////////////////////////////////////////////////////////////// //

// App info
const (
APP = "aligo"
VER = "2.0.1"
VER = "2.0.2"
DESC = "Utility for viewing and checking Golang struct alignment"
)

Expand Down
4 changes: 2 additions & 2 deletions cli/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"github.com/essentialkaos/ek/v12/fmtutil"
"github.com/essentialkaos/ek/v12/mathutil"

"github.com/essentialkaos/aligo/inspect"
"github.com/essentialkaos/aligo/report"
"github.com/essentialkaos/aligo/v2/inspect"
"github.com/essentialkaos/aligo/v2/report"
)

// ////////////////////////////////////////////////////////////////////////////////// //
Expand Down
2 changes: 1 addition & 1 deletion cli/support/support.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func showDepsInfo(gomod []byte) {
}
}

// extractGitRevFromBuildInfo extracts git SHA from embeded build info
// extractGitRevFromBuildInfo extracts git SHA from embedded build info
func extractGitRevFromBuildInfo() string {
info, ok := debug.ReadBuildInfo()

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/essentialkaos/aligo
module github.com/essentialkaos/aligo/v2

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion inspect/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

"golang.org/x/tools/go/packages"

"github.com/essentialkaos/aligo/report"
"github.com/essentialkaos/aligo/v2/report"
)

// ////////////////////////////////////////////////////////////////////////////////// //
Expand Down

0 comments on commit 4a44086

Please sign in to comment.