fyp/utils.go

8 lines
129 B
Go
Raw Normal View History

package main
import "net/url"
func checkEmpty(f url.Values, path string) bool {
return !f.Has(path) || f.Get(path) == ""
}