archive/util.go

10 lines
128 B
Go
Raw Normal View History

2017-08-13 02:41:14 +00:00
package archive
func attr(condition bool, whenMet string) string {
if condition {
return whenMet
} else {
return ""
}
}