123456789101112131415161718192021222324 |
- package mocks
- import (
- "gopkg.in/macaron.v1"
- )
- var _ macaron.Locale = (*Locale)(nil)
- type Locale struct {
- MockLang string
- MockTr func(string, ...interface{}) string
- }
- func (l *Locale) Language() string {
- return l.MockLang
- }
- func (l *Locale) Tr(format string, args ...interface{}) string {
- return l.MockTr(format, args...)
- }
|