db

package
v0.0.0-...-536e7ee Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() error

func DeleteRepoByName

func DeleteRepoByName(name string) (int64, error)

func Disconnect

func Disconnect() error

func GetClient

func GetClient() *mongo.Client

func GetCollection

func GetCollection(name string) *mongo.Collection

func GetRepoByName

func GetRepoByName(name string) (types.Repo, error)

func GetReposByFilters

func GetReposByFilters(filter any) ([]types.Repo, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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