Skip to content

Commit

Permalink
Fix go.mod and imports on packages. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
funwithbots authored Aug 23, 2023
1 parent e4f0424 commit 7444b37
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"log"
"os"

"go-gedcom/pkg/gedcom7"
"github.com/funwithbots/go-gedcom/pkg/gedcom7"
)

func main() {
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 go-gedcom
module github.com/funwithbots/go-gedcom

go 1.19

Expand Down
4 changes: 2 additions & 2 deletions pkg/gedcom/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"sync"
"testing"

"go-gedcom/pkg/gedcom"
"go-gedcom/pkg/gedcom7"
"github.com/funwithbots/go-gedcom/pkg/gedcom"
"github.com/funwithbots/go-gedcom/pkg/gedcom7"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions pkg/gedcom7/document.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"sync"
"time"

"go-gedcom/pkg/gedcom"
"go-gedcom/pkg/gedcom7/gc70val"
"go-gedcom/pkg/stack"
"github.com/funwithbots/go-gedcom/pkg/gedcom"
"github.com/funwithbots/go-gedcom/pkg/gedcom7/gc70val"
"github.com/funwithbots/go-gedcom/pkg/stack"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/gedcom7/document_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"testing"

"go-gedcom/pkg/gedcom"
"github.com/funwithbots/go-gedcom/pkg/gedcom"
)

var DocPath = "data/"
Expand Down
2 changes: 1 addition & 1 deletion pkg/gedcom7/gc70val/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"golang.org/x/text/cases"
"golang.org/x/text/language"

"go-gedcom/pkg/abnf"
"github.com/funwithbots/go-gedcom/pkg/abnf"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/gedcom7/gc70val/tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"go-gedcom/pkg/abnf"
"github.com/funwithbots/go-gedcom/pkg/abnf"
)

func Test_loadTags(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/gedcom7/line.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"strings"

"go-gedcom/pkg/gedcom7/gc70val"
"github.com/funwithbots/go-gedcom/pkg/gedcom7/gc70val"
)

/*
Expand Down
4 changes: 2 additions & 2 deletions pkg/gedcom7/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/funwithbots/go-abnf/operators"

"go-gedcom/pkg/gedcom"
"go-gedcom/pkg/gedcom7/gc70val"
"github.com/funwithbots/go-gedcom/pkg/gedcom"
"github.com/funwithbots/go-gedcom/pkg/gedcom7/gc70val"
)

// Validate checks the entire GEDCOM document for technical validity
Expand Down
2 changes: 1 addition & 1 deletion pkg/gedcom7/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gedcom7
import (
"testing"

"go-gedcom/pkg/gedcom"
"github.com/funwithbots/go-gedcom/pkg/gedcom"
)

func Test_document_ValidateNode(t *testing.T) {
Expand Down

0 comments on commit 7444b37

Please sign in to comment.