Documentation ¶
Overview ¶
Package discovery implements functions to validate that the fields of discovery entities being passed into the API meet our requirements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateNote ¶
func ValidateNote(d *gpb.DiscoveryNote) []error
ValidateNote validates that a discovery has all its required fields filled in.
func ValidateOccurrence ¶
func ValidateOccurrence(d *gpb.DiscoveryOccurrence) []error
ValidateOccurrence validates that a details has all its required fields filled in.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.