1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-23 12:57:05 +00:00

use jet v5.0.2 (no breaking changes)

relative to: https://github.com/kataras/iris/pull/1616
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-09-10 10:12:06 +03:00
parent 62d1185d25
commit 333be428c4
6 changed files with 15 additions and 12 deletions

View File

@@ -7,7 +7,6 @@ import (
"io/ioutil"
"path/filepath"
"strings"
"sync"
"text/template"
"github.com/kataras/iris/v12/context"
@@ -266,11 +265,6 @@ type defaultLocale struct {
defaultMessageFunc MessageFunc
}
type templateKey struct {
Template *template.Template
once *sync.Once
}
func (l *defaultLocale) Index() int {
return l.index
}