Skip to content

Commit 0e5313f

Browse files
Brandon Honeycuttclaude
andcommitted
fix: update module path to github.com/brandonhon/hosts-manager
Updated the Go module path from 'hosts-manager' to the full GitHub path 'github.com/brandonhon/hosts-manager' to resolve issues with Go module proxy and goreportcard.com. Changes: - Updated go.mod module declaration - Updated all import paths across 11 Go source files - Ran go mod tidy to update dependencies This fixes module resolution for external tools that rely on the Go module proxy. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f3679ea commit 0e5313f

File tree

12 files changed

+26
-26
lines changed

12 files changed

+26
-26
lines changed

cmd/hosts-manager/commands.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import (
88
"path/filepath"
99
"strings"
1010

11-
"hosts-manager/internal/audit"
12-
"hosts-manager/internal/backup"
13-
"hosts-manager/internal/config"
14-
"hosts-manager/internal/hosts"
15-
"hosts-manager/internal/tui"
16-
"hosts-manager/pkg/platform"
11+
"github.com/brandonhon/hosts-manager/internal/audit"
12+
"github.com/brandonhon/hosts-manager/internal/backup"
13+
"github.com/brandonhon/hosts-manager/internal/config"
14+
"github.com/brandonhon/hosts-manager/internal/hosts"
15+
"github.com/brandonhon/hosts-manager/internal/tui"
16+
"github.com/brandonhon/hosts-manager/pkg/platform"
1717

1818
"github.com/spf13/cobra"
1919
"gopkg.in/yaml.v3"

cmd/hosts-manager/main.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import (
55
"os"
66
"strings"
77

8-
"hosts-manager/internal/audit"
9-
"hosts-manager/internal/backup"
10-
"hosts-manager/internal/config"
11-
"hosts-manager/internal/errors"
12-
"hosts-manager/internal/hosts"
13-
"hosts-manager/pkg/platform"
14-
"hosts-manager/pkg/search"
8+
"github.com/brandonhon/hosts-manager/internal/audit"
9+
"github.com/brandonhon/hosts-manager/internal/backup"
10+
"github.com/brandonhon/hosts-manager/internal/config"
11+
"github.com/brandonhon/hosts-manager/internal/errors"
12+
"github.com/brandonhon/hosts-manager/internal/hosts"
13+
"github.com/brandonhon/hosts-manager/pkg/platform"
14+
"github.com/brandonhon/hosts-manager/pkg/search"
1515

1616
"github.com/spf13/cobra"
1717
)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module hosts-manager
1+
module github.com/brandonhon/hosts-manager
22

33
go 1.24.0
44

internal/audit/audit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"time"
1212
"unicode"
1313

14-
"hosts-manager/pkg/platform"
14+
"github.com/brandonhon/hosts-manager/pkg/platform"
1515
)
1616

1717
// EventType represents the type of audit event

internal/backup/backup.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"strings"
1212
"time"
1313

14-
"hosts-manager/internal/config"
15-
"hosts-manager/pkg/platform"
14+
"github.com/brandonhon/hosts-manager/internal/config"
15+
"github.com/brandonhon/hosts-manager/pkg/platform"
1616
)
1717

1818
type Manager struct {

internal/backup/backup_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"testing"
1212
"time"
1313

14-
"hosts-manager/internal/config"
14+
"github.com/brandonhon/hosts-manager/internal/config"
1515
)
1616

1717
func createTestConfig(tempDir string) *config.Config {

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"path/filepath"
77

8-
"hosts-manager/pkg/platform"
8+
"github.com/brandonhon/hosts-manager/pkg/platform"
99

1010
"gopkg.in/yaml.v3"
1111
)

internal/hosts/validation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88
"unicode"
99

10-
"hosts-manager/internal/audit"
10+
"github.com/brandonhon/hosts-manager/internal/audit"
1111
)
1212

1313
var (

internal/tui/tui.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"strings"
66

7-
"hosts-manager/internal/config"
8-
"hosts-manager/internal/hosts"
7+
"github.com/brandonhon/hosts-manager/internal/config"
8+
"github.com/brandonhon/hosts-manager/internal/hosts"
99

1010
tea "github.com/charmbracelet/bubbletea"
1111
"github.com/charmbracelet/lipgloss"

internal/tui/tui_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"strings"
55
"testing"
66

7-
"hosts-manager/internal/config"
8-
"hosts-manager/internal/hosts"
7+
"github.com/brandonhon/hosts-manager/internal/config"
8+
"github.com/brandonhon/hosts-manager/internal/hosts"
99

1010
tea "github.com/charmbracelet/bubbletea"
1111
)

0 commit comments

Comments
 (0)