summaryrefslogtreecommitdiffstats
path: root/modules/migration/messenger.go
blob: 1fd5456259ea49b8d45a950192c5a2f052317159 (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.Tr
type Messenger func(key string, args ...interface{})

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