Skip to content

Commit

Permalink
Change imports to tracecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
george-maroun committed Aug 3, 2023
1 parent eaa17ba commit b919d8c
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
Binary file modified bin/tracecheck
Binary file not shown.
2 changes: 1 addition & 1 deletion cmd/tracecheck/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"golang.org/x/tools/go/analysis/singlechecker"

"github.com/jlewi/roboweb/tracecheck"
"github.com/george-maroun/tracecheck"
)

func main() {
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/jlewi/roboweb/tracecheck
module github.com/george-maroun/tracecheck

go 1.19

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

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

"github.com/jlewi/roboweb/tracecheck/internal/bytebufferpool"
"github.com/george-maroun/tracecheck/internal/bytebufferpool"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions internal/checkers/general.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

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

"github.com/jlewi/roboweb/tracecheck/internal/checkers/printf"
"github.com/jlewi/roboweb/tracecheck/internal/stringutil"
"github.com/george-maroun/tracecheck/internal/checkers/printf"
"github.com/george-maroun/tracecheck/internal/stringutil"
)

type General struct{}
Expand Down
2 changes: 1 addition & 1 deletion internal/rules/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"io"
"strings"

"github.com/jlewi/roboweb/tracecheck/internal/bytebufferpool"
"github.com/george-maroun/tracecheck/internal/bytebufferpool"
)

var ErrInvalidRule = errors.New("invalid rule format")
Expand Down
6 changes: 3 additions & 3 deletions loggercheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"golang.org/x/tools/go/ast/inspector"
"golang.org/x/tools/go/types/typeutil"

"github.com/jlewi/roboweb/tracecheck/internal/checkers"
"github.com/jlewi/roboweb/tracecheck/internal/rules"
"github.com/jlewi/roboweb/tracecheck/internal/sets"
"github.com/george-maroun/tracecheck/internal/checkers"
"github.com/george-maroun/tracecheck/internal/rules"
"github.com/george-maroun/tracecheck/internal/sets"
)

const Doc = `Checks key value pairs for common logger libraries (kitlog,klog,logr,zap).`
Expand Down
2 changes: 1 addition & 1 deletion loggercheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/require"
"golang.org/x/tools/go/analysis/analysistest"

"github.com/jlewi/roboweb/tracecheck"
"github.com/george-maroun/tracecheck"
)

// N.B. Before running the tests you need to
Expand Down
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package loggercheck

import (
"github.com/jlewi/roboweb/tracecheck/internal/sets"
"github.com/george-maroun/tracecheck/internal/sets"
)

type Option func(*loggercheck)
Expand Down
4 changes: 2 additions & 2 deletions staticrules.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"fmt"

"github.com/jlewi/roboweb/tracecheck/internal/checkers"
"github.com/jlewi/roboweb/tracecheck/internal/rules"
"github.com/george-maroun/tracecheck/internal/checkers"
"github.com/george-maroun/tracecheck/internal/rules"
)

var (
Expand Down

0 comments on commit b919d8c

Please sign in to comment.