2021-06-17 03:32:24 +05:30
|
|
|
// Copyright 2021 The Gitea Authors. All rights reserved.
|
2022-11-27 23:50:29 +05:30
|
|
|
// SPDX-License-Identifier: MIT
|
2021-06-17 03:32:24 +05:30
|
|
|
|
2021-11-16 20:55:33 +05:30
|
|
|
package migration
|
2021-06-17 03:32:24 +05:30
|
|
|
|
2024-02-15 03:18:45 +05:30
|
|
|
// Messenger is a formatting function similar to i18n.TrString
|
2023-07-05 00:06:08 +05:30
|
|
|
type Messenger func(key string, args ...any)
|
2021-06-17 03:32:24 +05:30
|
|
|
|
|
|
|
// NilMessenger represents an empty formatting function
|
2023-07-05 00:06:08 +05:30
|
|
|
func NilMessenger(string, ...any) {}
|