cockroach: Index | Files

package zerofields

import ""


Package Files


func NoZeroField Uses

func NoZeroField(v interface{}) error

NoZeroField returns nil if none of the fields of the struct underlying the interface are equal to the zero value, and an error otherwise. It will panic if the struct has unexported fields and for any non-struct.

Package zerofields imports 2 packages (graph). Updated 2019-07-12. Refresh now. Tools for package owners.