Skip to content

Commit

Permalink
chore: update module path (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmzane authored Oct 14, 2023
1 parent f2cb921 commit 2cf84a9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# sloglint

[![checks](https://github.com/tmzane/sloglint/actions/workflows/checks.yml/badge.svg)](https://github.com/tmzane/sloglint/actions/workflows/checks.yml)
[![pkg.go.dev](https://pkg.go.dev/badge/go.tmz.dev/sloglint.svg)](https://pkg.go.dev/go.tmz.dev/sloglint)
[![goreportcard](https://goreportcard.com/badge/go.tmz.dev/sloglint)](https://goreportcard.com/report/go.tmz.dev/sloglint)
[![codecov](https://codecov.io/gh/tmzane/sloglint/branch/main/graph/badge.svg)](https://codecov.io/gh/tmzane/sloglint)
[![checks](https://github.com/go-simpler/sloglint/actions/workflows/checks.yml/badge.svg)](https://github.com/go-simpler/sloglint/actions/workflows/checks.yml)
[![pkg.go.dev](https://pkg.go.dev/badge/go-simpler.org/sloglint.svg)](https://pkg.go.dev/go-simpler.org/sloglint)
[![goreportcard](https://goreportcard.com/badge/go-simpler.org/sloglint)](https://goreportcard.com/report/go-simpler.org/sloglint)
[![codecov](https://codecov.io/gh/go-simpler/sloglint/branch/main/graph/badge.svg)](https://codecov.io/gh/go-simpler/sloglint)

Ensure consistent code-style when using `log/slog`.

Expand Down
5 changes: 2 additions & 3 deletions cmd/sloglint/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"runtime"

"go.tmz.dev/sloglint"
"go-simpler.org/sloglint"
"golang.org/x/tools/go/analysis/singlechecker"
)

Expand All @@ -20,9 +20,8 @@ func main() {

type versionFlag struct{}

func (versionFlag) IsBoolFlag() bool { return true }
func (versionFlag) Get() interface{} { return nil }
func (versionFlag) String() string { return "" }
func (versionFlag) IsBoolFlag() bool { return true }
func (versionFlag) Set(string) error {
fmt.Printf("sloglint version %s %s/%s\n", version, runtime.GOOS, runtime.GOARCH)
os.Exit(0)
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 go.tmz.dev/sloglint
module go-simpler.org/sloglint

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion sloglint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sloglint_test
import (
"testing"

"go.tmz.dev/sloglint"
"go-simpler.org/sloglint"
"golang.org/x/tools/go/analysis/analysistest"
)

Expand Down

0 comments on commit 2cf84a9

Please sign in to comment.