Documentation ¶
Index ¶
Constants ¶
View Source
const ( Key = "scanned_status" BadReason = "scanned_bad_reason" Timestamp = "scanned_status_timestamp" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ScannedStatus ¶
type ScannedStatus int
const ( NotScanned ScannedStatus = iota ScannedOK ScannedBad )
there is a fundamental error here in that the default zero value is used for something meaningful. Better would be to name the zero value to UNSPECIFIED and NotScanned to 1... difficult to change now...
func FromString ¶
func FromString(stringVal string) ScannedStatus
func Value ¶
func Value(s string) ScannedStatus
func (ScannedStatus) String ¶
func (s ScannedStatus) String() string
Click to show internal directories.
Click to hide internal directories.