summaryrefslogtreecommitdiffstats
path: root/modules/migration/messenger.go
blob: 6f9cad3f10426a47b49e01badac465b384975d64 (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright 2021 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

package migration

// Messenger is a formatting function similar to i18n.TrString
type Messenger func(key string, args ...any)

// NilMessenger represents an empty formatting function
func NilMessenger(string, ...any) {}