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