Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Commit 15afbfd

Browse files
authored
✨ Use GitHub-based import path (#45)
Vanity go modules are too complicated to deal with right now.
1 parent f2ed232 commit 15afbfd

30 files changed

+49
-49
lines changed

.golangci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ linters-settings:
1212
- ^print.*$
1313

1414
goimports:
15-
local-prefixes: go.xargs.dev/bindl
15+
local-prefixes: github.com/bindl-dev/bindl
1616

1717
govet:
1818
enable:

cmd/bindl/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"os"
2020
"os/signal"
2121

22-
"go.xargs.dev/bindl/command/cli"
22+
"github.com/bindl-dev/bindl/command/cli"
2323
)
2424

2525
func main() {

cmd/bindl/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package main
1717
import (
1818
"fmt"
1919

20+
internalversion "github.com/bindl-dev/bindl/internal/version"
2021
"github.com/spf13/cobra"
21-
internalversion "go.xargs.dev/bindl/internal/version"
2222
)
2323

2424
// These variables are stamped by ldflags on build, configured through goreleaser.

command/cli/cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ package cli
1717
import (
1818
"runtime"
1919

20+
"github.com/bindl-dev/bindl/config"
21+
"github.com/bindl-dev/bindl/internal/log"
2022
"github.com/kelseyhightower/envconfig"
2123
"github.com/spf13/cobra"
22-
"go.xargs.dev/bindl/config"
23-
"go.xargs.dev/bindl/internal/log"
2424
)
2525

2626
var All = []*cobra.Command{

command/cli/generate_ignore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
package cli
1616

1717
import (
18+
"github.com/bindl-dev/bindl/command"
1819
"github.com/spf13/cobra"
19-
"go.xargs.dev/bindl/command"
2020
)
2121

2222
var bindlGenerateIgnorePath = ".gitignore"

command/cli/generate_make.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
package cli
1616

1717
import (
18+
"github.com/bindl-dev/bindl/command"
1819
"github.com/spf13/cobra"
19-
"go.xargs.dev/bindl/command"
2020
)
2121

2222
var bindlGenerateMakefilePath = "Makefile.bindl"

command/cli/get.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package cli
1717
import (
1818
"github.com/spf13/cobra"
1919

20-
"go.xargs.dev/bindl/command"
21-
"go.xargs.dev/bindl/internal"
20+
"github.com/bindl-dev/bindl/command"
21+
"github.com/bindl-dev/bindl/internal"
2222
)
2323

2424
var BindlGet = &cobra.Command{

command/cli/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package cli
1717
import (
1818
"fmt"
1919

20+
"github.com/bindl-dev/bindl/config"
2021
"github.com/spf13/cobra"
21-
"go.xargs.dev/bindl/config"
2222
)
2323

2424
var bindlListOneline = false

command/cli/purge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
package cli
1616

1717
import (
18+
"github.com/bindl-dev/bindl/command"
1819
"github.com/spf13/cobra"
19-
"go.xargs.dev/bindl/command"
2020
)
2121

2222
var bindlPurgeAll = false

command/cli/sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
package cli
1616

1717
import (
18+
"github.com/bindl-dev/bindl/command"
1819
"github.com/spf13/cobra"
19-
"go.xargs.dev/bindl/command"
2020
)
2121

2222
var bindlSyncStdout bool

0 commit comments

Comments
 (0)