Skip to content

Commit

Permalink
Bump Go module to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyterra committed Jun 11, 2024
1 parent 0aabd60 commit 65f14d1
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ Supported rich text formats:

### Binaries

Find the executable that matches your OS and architecture in [releases](https://github.com/webpagine/pagine/releases).
Find the executable that matches your OS and architecture in [releases](https://github.com/webpagine/pagine/v2/releases).

### Build from source

```shell
$ go install github.com/webpagine/pagine/cmd/pagine
$ go install github.com/webpagine/pagine/v2/cmd/pagine
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions cmd/pagine/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"flag"
"fmt"
"github.com/fsnotify/fsnotify"
"github.com/webpagine/pagine/structure"
"github.com/webpagine/pagine/vfs"
"github.com/webpagine/pagine/v2/structure"
"github.com/webpagine/pagine/v2/vfs"
"io"
"io/fs"
"net/http"
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/webpagine/pagine
module github.com/webpagine/pagine/v2

go 1.22

Expand Down
2 changes: 1 addition & 1 deletion render/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package render

import (
"github.com/webpagine/pagine/vfs"
"github.com/webpagine/pagine/v2/vfs"
"io"
)

Expand Down
4 changes: 2 additions & 2 deletions structure/env.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package structure

import (
"github.com/webpagine/pagine/util"
"github.com/webpagine/pagine/vfs"
"github.com/webpagine/pagine/v2/util"
"github.com/webpagine/pagine/v2/vfs"
"regexp"
"strings"
)
Expand Down
6 changes: 3 additions & 3 deletions structure/hierarchy.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package structure

import (
"github.com/webpagine/pagine/collection"
"github.com/webpagine/pagine/util"
"github.com/webpagine/pagine/vfs"
"github.com/webpagine/pagine/v2/collection"
"github.com/webpagine/pagine/v2/util"
"github.com/webpagine/pagine/v2/vfs"
"maps"
"os"
"sync"
Expand Down
4 changes: 2 additions & 2 deletions structure/template.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package structure

import (
"github.com/webpagine/pagine/util"
"github.com/webpagine/pagine/vfs"
"github.com/webpagine/pagine/v2/util"
"github.com/webpagine/pagine/v2/vfs"
"io"
"text/template"
)
Expand Down
6 changes: 3 additions & 3 deletions structure/unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package structure

import (
"fmt"
"github.com/webpagine/pagine/collection"
"github.com/webpagine/pagine/render"
"github.com/webpagine/pagine/vfs"
"github.com/webpagine/pagine/v2/collection"
"github.com/webpagine/pagine/v2/render"
"github.com/webpagine/pagine/v2/vfs"
"maps"
"path/filepath"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion util/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package util

import (
"github.com/BurntSushi/toml"
"github.com/webpagine/pagine/vfs"
"github.com/webpagine/pagine/v2/vfs"
)

func UnmarshalTOMLFile(root vfs.DirFS, path string, v any) error {
Expand Down

0 comments on commit 65f14d1

Please sign in to comment.