forgejo/modules/migration/messenger.go
silverwind 24e64fe372
Replace interface{} with any (#25686) (#25687)
Same perl replacement as https://github.com/go-gitea/gitea/pull/25686
but for 1.20 to ease future backporting.
2023-07-04 23:41:32 -04:00

11 lines
306 B
Go

// Copyright 2021 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package migration
// Messenger is a formatting function similar to i18n.Tr
type Messenger func(key string, args ...any)
// NilMessenger represents an empty formatting function
func NilMessenger(string, ...any) {}