evcc-io/util/redact.go
2026-02-01 11:59:02 +01:00

8 lines
87 B
Go

package util
func Masked(s any) string {
if s != "" {
return "***"
}
return ""
}