technology

package
v1.19.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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,
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL