Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoString string = os.Getenv("MONGOSTRING")
Functions ¶
func InsertOneDoc ¶
func Inserttamu ¶
func MongoConnect ¶
Types ¶
type Tamu ¶
type Tamu struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id"` Nama string `bson:"nama" json:"nama"` Email string `bson:"email" json:"email"` Kota string `bson:"kota" json:"kota"` Status string `bson:"status" json:"status"` }
func GetDataKota ¶ added in v0.0.6
func GetDataStatus ¶ added in v0.0.5
func GetDatatam ¶ added in v0.0.9
Click to show internal directories.
Click to hide internal directories.