Documentation ¶
Index ¶
- func CreateNoun(ctx context.Context, doc *models.Noun) error
- func DeleteNoun(ctx context.Context, doc *models.Noun) error
- func ListNouns(ctx context.Context) ([]*models.Noun, error)
- func SearchNoun(ctx context.Context, doc *models.Noun) (*models.Noun, error)
- func UpdateNoun(ctx context.Context, doc *models.Noun) error
- func UpsertNoun(ctx context.Context, doc *models.Noun) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNoun ¶
CreateNoun creates a new noun.
func DeleteNoun ¶
DeleteNoun deletes given noun.
func SearchNoun ¶
SearchNoun searches for given noun in database, and queries external services if not found.
func UpdateNoun ¶
UpdateNoun updates an existing noun.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.