Skip to content

Commit

Permalink
chore: bump v2 dep path
Browse files Browse the repository at this point in the history
  • Loading branch information
polarhive committed May 7, 2024
1 parent 91a9b00 commit 6e0a564
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions cmd/anna/anna.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"os"
"sort"

"github.com/acmpesuecc/anna/pkg/engine"
"github.com/acmpesuecc/anna/pkg/helpers"
"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/engine"
"github.com/acmpesuecc/anna/v2/pkg/helpers"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

type Cmd struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/anna/livereload.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync/atomic"
"time"

"github.com/acmpesuecc/anna/pkg/helpers"
"github.com/acmpesuecc/anna/v2/pkg/helpers"
)

var reloadPage = make(chan struct{})
Expand Down
2 changes: 1 addition & 1 deletion cmd/anna/validate_html.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"

"github.com/PuerkitoBio/goquery"
"github.com/acmpesuecc/anna/pkg/helpers"
"github.com/acmpesuecc/anna/v2/pkg/helpers"
)

func (cmd *Cmd) ValidateHTMLContent() {
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/acmpesuecc/anna
module github.com/acmpesuecc/anna/v2

go 1.22.2

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/acmpesuecc/anna/cmd/anna"
"github.com/acmpesuecc/anna/v2/cmd/anna"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main_test
import (
"testing"

"github.com/acmpesuecc/anna/cmd/anna"
"github.com/acmpesuecc/anna/v2/cmd/anna"
)

func BenchmarkMain(b *testing.B) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/engine/anna_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"sync"
"time"

"github.com/acmpesuecc/anna/pkg/helpers"
"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/helpers"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

type TagRootTemplateData struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/engine/anna_engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"
"testing"

"github.com/acmpesuecc/anna/pkg/engine"
"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/engine"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

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

"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

// DeepDataMerge This struct holds all the ssg data
Expand Down
4 changes: 2 additions & 2 deletions pkg/engine/engine_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"slices"
"testing"

"github.com/acmpesuecc/anna/pkg/engine"
"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/engine"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

func TestRenderUserDefinedPages(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/engine/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"slices"
"testing"

"github.com/acmpesuecc/anna/pkg/engine"
"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/engine"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

const TestDirPath = "../../test/engine/"
Expand Down
6 changes: 3 additions & 3 deletions pkg/engine/user_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
"runtime"
"sync"

"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

type postsTemplateData struct {
DeepDataMerge DeepDataMerge
PageURL template.URL
PageURL template.URL
TemplateData parser.TemplateData
}

Expand All @@ -25,7 +25,7 @@ func (e *Engine) RenderEngineGeneratedFiles(fileOutPath string, template *templa
Frontmatter: parser.Frontmatter{Title: "Posts"},
},
DeepDataMerge: e.DeepDataMerge,
PageURL: "posts.html",
PageURL: "posts.html",
}

err := template.ExecuteTemplate(&postsBuffer, "posts", postsData)
Expand Down
4 changes: 2 additions & 2 deletions pkg/engine/user_engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"slices"
"testing"

"github.com/acmpesuecc/anna/pkg/engine"
"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/engine"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

func TestRenderEngineGeneratedFiles(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/zettel_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"runtime"
"sync"

"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

type notesTemplateData struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/helpers/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"slices"
"testing"

"github.com/acmpesuecc/anna/pkg/helpers"
"github.com/acmpesuecc/anna/v2/pkg/helpers"
)

var HelperTestDirPath = "../../test/helpers/"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"time"

"github.com/acmpesuecc/anna/pkg/helpers"
"github.com/acmpesuecc/anna/v2/pkg/helpers"
figure "github.com/mangoumbrella/goldmark-figure"
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/extension"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/parser_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

func TestParseMDDir(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"slices"
"testing"

"github.com/acmpesuecc/anna/pkg/parser"
"github.com/acmpesuecc/anna/v2/pkg/parser"
)

const TestDirPath = "../../test/parser/"
Expand Down

0 comments on commit 6e0a564

Please sign in to comment.