Skip to content

Commit

Permalink
Use correct package name
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisWiegman committed Dec 29, 2020
1 parent f6ccb4f commit d1f754d
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $ goodhosts --help
### Installation

```bash
$ go get gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4
$ go get github.com/ChrisWiegman/goodhosts/v4
```

### List entries
Expand All @@ -79,7 +79,7 @@ package main

import (
"fmt"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
"github.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
)

func main() {
Expand All @@ -98,7 +98,7 @@ package main

import (
"fmt"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
"github.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
)

func main() {
Expand All @@ -120,7 +120,7 @@ package main

import (
"fmt"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
"github.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
)

func main() {
Expand All @@ -142,7 +142,7 @@ package main

import (
"fmt"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
"github.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/goodhosts/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/commands"
import "github.com/ChrisWiegman/goodhosts/v4/internal/commands"

func main() {
commands.Execute()
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 gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4
module github.com/ChrisWiegman/goodhosts/v4

go 1.15

Expand Down
4 changes: 2 additions & 2 deletions internal/add/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"fmt"

"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/flags"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
"github.com/ChrisWiegman/goodhosts/v4/internal/flags"
"github.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/check/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"os"

"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/flags"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
"github.com/ChrisWiegman/goodhosts/v4/internal/flags"
"github.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/commands/add.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package commands

import (
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/add"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/flags"
"github.com/ChrisWiegman/goodhosts/v4/internal/add"
"github.com/ChrisWiegman/goodhosts/v4/internal/flags"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/check.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package commands

import (
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/check"
"github.com/ChrisWiegman/goodhosts/v4/internal/check"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/commands/list.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package commands

import (
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/flags"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/list"
"github.com/ChrisWiegman/goodhosts/v4/internal/flags"
"github.com/ChrisWiegman/goodhosts/v4/internal/list"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/remove.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package commands

import (
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/remove"
"github.com/ChrisWiegman/goodhosts/v4/internal/remove"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/removesection.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package commands

import (
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/removesection"
"github.com/ChrisWiegman/goodhosts/v4/internal/removesection"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package commands
import (
"os"

"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/flags"
"github.com/ChrisWiegman/goodhosts/v4/internal/flags"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package list
import (
"fmt"

"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/flags"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
"github.com/ChrisWiegman/goodhosts/v4/internal/flags"
"github.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/remove/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"fmt"

"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/flags"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
"github.com/ChrisWiegman/goodhosts/v4/internal/flags"
"github.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/removesection/removesection.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"fmt"

"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/internal/flags"
"gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"
"github.com/ChrisWiegman/goodhosts/v4/internal/flags"
"github.com/ChrisWiegman/goodhosts/v4/pkg/goodhosts"

"github.com/spf13/cobra"
)
Expand Down

0 comments on commit d1f754d

Please sign in to comment.