mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 08:54:09 -04:00
11 lines
251 B
Go
11 lines
251 B
Go
package config
|
|
|
|
type Warner interface {
|
|
Warnf(format string, a ...interface{})
|
|
}
|
|
|
|
func handleDeprecated(warner Warner, oldKey, newKey string) {
|
|
warner.Warnf("You are using an old environment variable %s, please change it to %s",
|
|
oldKey, newKey)
|
|
}
|