mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-08-30 16:34:53 +02:00
Same perl replacement as https://github.com/go-gitea/gitea/pull/25686 but for 1.20 to ease future backporting.
10 lines
306 B
Go
10 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) {}
|