mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 15:37:54 +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) {}
|