Skip to content

Commit 106a150

Browse files
razonyangsauerbraten
authored andcommitted
Ensure that Multi implements Loader interface
1 parent bb90cf9 commit 106a150

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

loaders/multi/multi.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import (
77
"github.com/CloudyKit/jet/v4"
88
)
99

10+
var _ jet.Loader = (*Multi)(nil)
11+
1012
// Multi implements jet.Loader interface and tries to load templates from a list of custom loaders.
1113
// Caution: When multiple loaders have templates with the same name, the order in which you pass loaders
1214
// to NewLoader/AddLoaders dictates which template will be returned by Open when you request it!

0 commit comments

Comments
 (0)