aboutsummaryrefslogtreecommitdiff
path: root/internal/mocks/locale.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/mocks/locale.go')
-rw-r--r--internal/mocks/locale.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/mocks/locale.go b/internal/mocks/locale.go
index ef95e056..2bc7c66b 100644
--- a/internal/mocks/locale.go
+++ b/internal/mocks/locale.go
@@ -12,13 +12,13 @@ var _ macaron.Locale = (*Locale)(nil)
type Locale struct {
MockLang string
- MockTr func(string, ...interface{}) string
+ MockTr func(string, ...any) string
}
func (l *Locale) Language() string {
return l.MockLang
}
-func (l *Locale) Tr(format string, args ...interface{}) string {
+func (l *Locale) Tr(format string, args ...any) string {
return l.MockTr(format, args...)
}