Skip to content

Commit

Permalink
Rename package and binary
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Feb 6, 2021
1 parent fcc6aa2 commit e96b804
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ linters-settings:
enabled-tags:
- experimental
gci:
local-prefixes: github.com/alexandear/import-gitlab-contribs
local-prefixes: github.com/alexandear/import-gitlab-commits

linters:
enable-all: true
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ clean:
.PHONY: build
build:
@echo build
@go build -o $(GOBIN)/fake-private-contributions
@go build -o $(GOBIN)/import-gitlab-commits

.PHONY: test
test:
Expand Down
4 changes: 2 additions & 2 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"os"
"time"

pkg "github.com/alexandear/import-gitlab-contribs/internal"
"github.com/alexandear/import-gitlab-contribs/internal/app"
pkg "github.com/alexandear/import-gitlab-commits/internal"
"github.com/alexandear/import-gitlab-commits/internal/app"
)

const (
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/alexandear/import-gitlab-contribs
module github.com/alexandear/import-gitlab-commits

go 1.15

Expand Down
4 changes: 2 additions & 2 deletions internal/app/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"github.com/go-git/go-git/v5/plumbing/object"
goGitlab "github.com/xanzy/go-gitlab"

pkg "github.com/alexandear/import-gitlab-contribs/internal"
"github.com/alexandear/import-gitlab-contribs/internal/gitlab"
pkg "github.com/alexandear/import-gitlab-commits/internal"
"github.com/alexandear/import-gitlab-commits/internal/gitlab"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/gitlab/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/xanzy/go-gitlab"

pkg "github.com/alexandear/import-gitlab-contribs/internal"
pkg "github.com/alexandear/import-gitlab-commits/internal"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/gitlab/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/xanzy/go-gitlab"

pkg "github.com/alexandear/import-gitlab-contribs/internal"
pkg "github.com/alexandear/import-gitlab-commits/internal"
)

func TestService_hasContributionsByUser(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"
"os"

"github.com/alexandear/import-gitlab-contribs/cmd"
"github.com/alexandear/import-gitlab-commits/cmd"
)

func main() {
Expand Down

0 comments on commit e96b804

Please sign in to comment.