Discover Packages
github.com/marioidival/crud-mongodb
model
package
Version:
v0.0.0-...-caff7f9
Opens a new window with list of versions in this module.
Published: Sep 23, 2018
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Address struct {
Street string `bson:"street" json:"street"`
City string `bson:"city" json:"city"`
State string `bson:"state" json:"state"`
Number int `bson:"number" json:"number"`
Country string `bson:"country" json:"country"`
}
Address model to address ...
type Contact struct {
ID bson .ObjectId `bson:"_id" json:"id"`
Name string `bson:"name" json:"name"`
Phone string `bson:"phone" json:"phone"`
Email string `bson:"email" json:"email"`
Adrress Address `bson:"address" json:"address,omitempty"`
}
Contact model to contact ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.