Documentation ¶
Index ¶
- type Technology
- func (Technology) Create(ctx context.Context, wappalyzerTechnologyName string, ...) (res Technology, err error)
- func (Technology) GetByIDs(ctx context.Context, ids []string) (res []Technology, err error)
- func (Technology) GetBySlug(ctx context.Context, slug string) (res Technology, err error)
- func (Technology) GetHints(ctx context.Context, name string, excludeIDs []string, limit int64) (res []Technology, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Technology ¶
type Technology struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` CategoryIDs []primitive.ObjectID `bson:"c,omitempty" json:"c,omitempty"` Name string `bson:"n,omitempty" json:"n,omitempty"` Slug string `bson:"s,omitempty" json:"s,omitempty"` }
func (Technology) Create ¶
func (Technology) Create( ctx context.Context, wappalyzerTechnologyName string, categoryIDs []primitive.ObjectID, ) ( res Technology, err error, )
func (Technology) GetByIDs ¶
func (Technology) GetByIDs(ctx context.Context, ids []string) (res []Technology, err error)
func (Technology) GetBySlug ¶
func (Technology) GetBySlug(ctx context.Context, slug string) ( res Technology, err error, )
func (Technology) GetHints ¶
func (Technology) GetHints(ctx context.Context, name string, excludeIDs []string, limit int64) ( res []Technology, err error, )
Click to show internal directories.
Click to hide internal directories.