1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-09 13:05:56 +00:00

vendor the sessions/sessiondb/badger database

//  The Iris' vendored badger it's self-vendored as well.
	// Why?
	// Because they were changing their public API a lot and iris was unable to built itself...
	// https://github.com/dgraph-io/badger/pull/256
	// https://github.com/dgraph-io/badger/pull/254
	// https://github.com/dgraph-io/badger/pull/261
	// I fixed everything by pushing a PR(the original's repository tests were failing) from the kataras/badger to the dgraph-io/badger:
	// https://github.com/dgraph-io/badger/pull/264
	// But it's better to have it on its own folder for the shake of stability,
	// Iris should be not affected of any third-party changes,
	// this method guards against upstream renames and deletes.


Former-commit-id: 56e796cc96ac93024c1c53905ae9a78b81b37230
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-10-11 01:21:54 +03:00
parent 99c18f5a86
commit be03f915bb
3 changed files with 17 additions and 6 deletions

View File

@@ -1,11 +1,12 @@
// Package i18n provides internalization and localization via middleware. See _examples/miscellaneous/i18n
// Package i18n provides internalization and localization via middleware.
// See _examples/miscellaneous/i18n
package i18n
import (
"reflect"
"strings"
"github.com/Unknwon/i18n"
"github.com/iris-contrib/i18n"
"github.com/kataras/iris/context"
)