first commit
This commit is contained in:
15 files changed
+725
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
// Cow holds the structure for the cow collection in mongo
|
||||
type Cow struct {
|
||||
ID string `json:"_id" bson:"_id"`
|
||||
Details CowDetails `json:"cow" bson:"cow"`
|
||||
}
|
||||
|
||||
// CowDetails holds teh structure for the inner cow structure as
|
||||
// defined in the cow collection in mongo
|
||||
type CowDetails struct {
|
||||
CowCode string `json:"CowCode" bson:"CowCode"`
|
||||
}
|
||||
Reference in new issue
Block a user