be63

package module
v0.0.2-0...-6b888b8 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MongoString string = os.Getenv("MONGOSTRING")

Functions

func GetAllGamme

func GetAllGamme() ([]solana, error)

func GetspecbyID

func GetspecbyID(id primitive.ObjectID) (solana, error)

func InsertOneDoc

func InsertOneDoc(db string, collection string, doc interface{}) (insertedID interface{})

func Insertsolana

func Insertsolana(name string, network string, storage string, ram string, processor string, camera int, display int, battery int, os string, price float64) (InsertedID interface{})

func MongoConnect

func MongoConnect(dbname string) (db *mongo.Database)

Types

This section is empty.

Jump to

Keyboard shortcuts

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