File tree Expand file tree Collapse file tree 9 files changed +15
-15
lines changed Expand file tree Collapse file tree 9 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ import (
27
27
"strings"
28
28
"time"
29
29
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"
34
34
)
35
35
36
36
// Initialize the set with both local files as well as the packaged
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
25
25
"reflect"
26
26
"strings"
27
27
28
- "github.com/CloudyKit/jet/v3 "
28
+ "github.com/CloudyKit/jet/v4 "
29
29
)
30
30
31
31
var views = jet .NewHTMLSet ("./views" )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
20
20
"strings"
21
21
"testing"
22
22
23
- "github.com/CloudyKit/jet/v3 "
23
+ "github.com/CloudyKit/jet/v4 "
24
24
)
25
25
26
26
// TestingSet holds a template set for running tests
Original file line number Diff line number Diff line change 4
4
"net/http"
5
5
"testing"
6
6
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"
9
9
)
10
10
11
11
func TestNilHTTPFileSystem (t * testing.T ) {
Original file line number Diff line number Diff line change 5
5
"net/http"
6
6
"os"
7
7
8
- "github.com/CloudyKit/jet/v3 "
8
+ "github.com/CloudyKit/jet/v4 "
9
9
)
10
10
11
11
type httpFileSystemLoader struct {
Original file line number Diff line number Diff line change 4
4
"io"
5
5
"os"
6
6
7
- "github.com/CloudyKit/jet/v3 "
7
+ "github.com/CloudyKit/jet/v4 "
8
8
)
9
9
10
10
// Multi implements jet.Loader interface and tries to load templates from a list of custom loaders.
Original file line number Diff line number Diff line change 4
4
"net/http"
5
5
"testing"
6
6
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"
10
10
)
11
11
12
12
func TestZeroLoaders (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package utils
3
3
import (
4
4
"fmt"
5
5
6
- "github.com/CloudyKit/jet/v3 "
6
+ "github.com/CloudyKit/jet/v4 "
7
7
)
8
8
9
9
// Walk walks the template ast and calls the Visit method on each node of the tree
Original file line number Diff line number Diff line change 4
4
"reflect"
5
5
"testing"
6
6
7
- "github.com/CloudyKit/jet/v3 "
7
+ "github.com/CloudyKit/jet/v4 "
8
8
)
9
9
10
10
var Set = jet .NewHTMLSet ("" )
You can’t perform that action at this time.
0 commit comments