mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 14:06:15 +01:00
24e64fe372
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) {}
|