Documentation ¶
Overview ¶
Package wire provides support for generating views.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrItemType is used in item parsing. ErrItemType = errors.New("Could not parse item type") // ErrItemData is used in item parsing. ErrItemData = errors.New("Could not parse item data") // ErrItemID is used in item parsing. ErrItemID = errors.New("Could not parse item ID") )
View Source
var ( // ErrNotFound is an error variable thrown when no results are returned from a Mongo query. ErrNotFound = errors.New("View items Not found") )
Functions ¶
Types ¶
type QuadParam ¶
type QuadParam struct { Subject string `validate:"required,min=2"` Predicate string `validate:"required,min=2"` Object string `validate:"required,min=2"` }
QuadParam contains information needed to add/remove relationships to/from the cayley graph.
Click to show internal directories.
Click to hide internal directories.