Enforce use of any instead of interface{} (#30588)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9aa4818c71
Коммит
166a676fe5
@@ -151,7 +151,7 @@ func (c *Context) With(f func(ctx CTX) CTX) CTX {
|
||||
|
||||
// CTX should be abbreviated as `rctx`.
|
||||
type CTX interface {
|
||||
T(string, ...interface{}) string
|
||||
T(string, ...any) string
|
||||
GetT() i18n.TranslateFunc
|
||||
Session() *model.Session
|
||||
RequestId() string
|
||||
|
||||
Ссылка в новой задаче
Block a user