archive/util.go

10 lines
128 B
Go

package archive
func attr(condition bool, whenMet string) string {
if condition {
return whenMet
} else {
return ""
}
}