Skip to content

Commit

Permalink
change analyzer pkg name to filebuildtag (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
aziule authored Nov 17, 2024
1 parent ad697e1 commit 257493c
Show file tree
Hide file tree
Showing 15 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmd/filebuildtag/main.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package main

import (
"github.com/aziule/filebuildtag/pkg/analyzer"
"github.com/aziule/filebuildtag/pkg/filebuildtag"
"golang.org/x/tools/go/analysis/singlechecker"
)

func main() {
singlechecker.Main(analyzer.Analyzer)
singlechecker.Main(filebuildtag.Analyzer)
}
4 changes: 2 additions & 2 deletions pkg/analyzer/analyzer.go → pkg/filebuildtag/analyzer.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package analyzer exposes the analyzer.Analyzer object and code to use the filebuildtag linter.
package analyzer
// Package filebuildtag exposes the analyzer.Analyzer object and code to use the filebuildtag linter.
package filebuildtag

import (
"flag"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package analyzer
package filebuildtag

import (
"errors"
Expand Down

0 comments on commit 257493c

Please sign in to comment.