mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 10:46:10 +01:00
24e64fe372
Same perl replacement as https://github.com/go-gitea/gitea/pull/25686 but for 1.20 to ease future backporting.
11 lines
306 B
Go
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) {}
|