Versions in this module Expand all Collapse all v0 v0.0.1 May 9, 2024 Changes in this version + var MongoConn = atdb.MongoConnect(MongoInfo) + var MongoInfo = atdb.DBInfo + var MongoString string = os.Getenv("MONGOSTRING") + func GetAllMuseumCollections() (collections []interface{}) + func GetAllMuseumItems() (items []interface{}) + func InsertMuseumCollection(name string, description string, items []interface{}, location string, ...) (insertedID interface{}) + func InsertMuseumItem(name string, description string, year int, artist string, medium string, ...) (insertedID interface{}) + func InsertOneDoc(db string, collection string, doc interface{}) (insertedID interface{}) + func MongoConnect(dbname string) (db *mongo.Database)