Skip to content

Commit bb90cf9

Browse files
razonyangsauerbraten
authored andcommitted
Upgrade to v4
1 parent afbefdf commit bb90cf9

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

examples/asset_packaging/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ import (
2727
"strings"
2828
"time"
2929

30-
"github.com/CloudyKit/jet/v3"
31-
"github.com/CloudyKit/jet/v3/examples/asset_packaging/assets/templates"
32-
"github.com/CloudyKit/jet/v3/loaders/httpfs"
33-
"github.com/CloudyKit/jet/v3/loaders/multi"
30+
"github.com/CloudyKit/jet/v4"
31+
"github.com/CloudyKit/jet/v4/examples/asset_packaging/assets/templates"
32+
"github.com/CloudyKit/jet/v4/loaders/httpfs"
33+
"github.com/CloudyKit/jet/v4/loaders/multi"
3434
)
3535

3636
// Initialize the set with both local files as well as the packaged

examples/todos/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"reflect"
2626
"strings"
2727

28-
"github.com/CloudyKit/jet/v3"
28+
"github.com/CloudyKit/jet/v4"
2929
)
3030

3131
var views = jet.NewHTMLSet("./views")

jettest/test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"strings"
2121
"testing"
2222

23-
"github.com/CloudyKit/jet/v3"
23+
"github.com/CloudyKit/jet/v4"
2424
)
2525

2626
// TestingSet holds a template set for running tests

loaders/httpfs/httpfs_test.go

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

7-
"github.com/CloudyKit/jet/v3"
8-
"github.com/CloudyKit/jet/v3/jettest"
7+
"github.com/CloudyKit/jet/v4"
8+
"github.com/CloudyKit/jet/v4/jettest"
99
)
1010

1111
func TestNilHTTPFileSystem(t *testing.T) {

loaders/httpfs/loader.go

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

8-
"github.com/CloudyKit/jet/v3"
8+
"github.com/CloudyKit/jet/v4"
99
)
1010

1111
type httpFileSystemLoader struct {

loaders/multi/multi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"io"
55
"os"
66

7-
"github.com/CloudyKit/jet/v3"
7+
"github.com/CloudyKit/jet/v4"
88
)
99

1010
// Multi implements jet.Loader interface and tries to load templates from a list of custom loaders.

loaders/multi/multi_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"net/http"
55
"testing"
66

7-
"github.com/CloudyKit/jet/v3"
8-
"github.com/CloudyKit/jet/v3/jettest"
9-
"github.com/CloudyKit/jet/v3/loaders/httpfs"
7+
"github.com/CloudyKit/jet/v4"
8+
"github.com/CloudyKit/jet/v4/jettest"
9+
"github.com/CloudyKit/jet/v4/loaders/httpfs"
1010
)
1111

1212
func TestZeroLoaders(t *testing.T) {

utils/visitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package utils
33
import (
44
"fmt"
55

6-
"github.com/CloudyKit/jet/v3"
6+
"github.com/CloudyKit/jet/v4"
77
)
88

99
// Walk walks the template ast and calls the Visit method on each node of the tree

utils/visitor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/CloudyKit/jet/v3"
7+
"github.com/CloudyKit/jet/v4"
88
)
99

1010
var Set = jet.NewHTMLSet("")

0 commit comments

Comments
 (0)