Skip to content

Commit

Permalink
fix: make module v2 (guyfedwards#55)
Browse files Browse the repository at this point in the history
fixes issue with go install not pulling latest version
and allows for bsd port

fixes guyfedwards#54, guyfedwards#51
  • Loading branch information
guyfedwards authored Feb 20, 2024
1 parent 0747c13 commit 02e3af0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions cmd/nom/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

"github.com/jessevdk/go-flags"

"github.com/guyfedwards/nom/internal/commands"
"github.com/guyfedwards/nom/internal/config"
"github.com/guyfedwards/nom/internal/store"
"github.com/guyfedwards/nom/v2/internal/commands"
"github.com/guyfedwards/nom/v2/internal/config"
"github.com/guyfedwards/nom/v2/internal/store"
)

type Options struct {
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/guyfedwards/nom
module github.com/guyfedwards/nom/v2

go 1.19

Expand Down
6 changes: 3 additions & 3 deletions internal/commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"github.com/charmbracelet/bubbles/list"
"github.com/charmbracelet/glamour"

"github.com/guyfedwards/nom/internal/config"
"github.com/guyfedwards/nom/internal/rss"
"github.com/guyfedwards/nom/internal/store"
"github.com/guyfedwards/nom/v2/internal/config"
"github.com/guyfedwards/nom/v2/internal/rss"
"github.com/guyfedwards/nom/v2/internal/store"
)

type Commands struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/charmbracelet/lipgloss"
"golang.org/x/term"

"github.com/guyfedwards/nom/internal/store"
"github.com/guyfedwards/nom/v2/internal/store"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"gopkg.in/yaml.v3"

"github.com/guyfedwards/nom/internal/test"
"github.com/guyfedwards/nom/v2/internal/test"
)

const configFixturePath = "../test/data/config_fixture.yml"
Expand Down
2 changes: 1 addition & 1 deletion internal/rss/rss.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/mmcdole/gofeed"

"github.com/guyfedwards/nom/internal/config"
"github.com/guyfedwards/nom/v2/internal/config"
)

type Item struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/rss/rss_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

"github.com/mmcdole/gofeed"

"github.com/guyfedwards/nom/internal/config"
"github.com/guyfedwards/nom/v2/internal/config"

"github.com/guyfedwards/nom/internal/test"
"github.com/guyfedwards/nom/v2/internal/test"
)

const dropboxFixture = "../test/data/dropbox_fixture.rss"
Expand Down

0 comments on commit 02e3af0

Please sign in to comment.