Files
ddns-updater-qdm12-3/internal/config/retrocompat.go
2024-01-16 10:13:28 +00:00

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)
}