tag

package
v0.0.0-...-1d800d4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Import

func Import(ctx context.Context, db *mongo.Database, _, tx pgx.Tx, limit int) error

Types

type ForPQ

type ForPQ struct {
	IdField         `bson:"inline"`
	NameField       `bson:"inline"`
	ProjectIdsField `bson:"inline"`
	UserIdField     `bson:"inline"`
}

type IdField

type IdField struct {
	Id primitive.ObjectID `bson:"_id"`
}

type NameField

type NameField struct {
	Name string `bson:"name"`
}

type ProjectIdsField

type ProjectIdsField struct {
	ProjectIds []primitive.ObjectID `bson:"project_ids"`
}

type UserIdField

type UserIdField struct {
	UserId string `bson:"user_id"`
}

Jump to

Keyboard shortcuts

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