Answer the question
In order to leave comments, you need to log in
How to implement normal relationships between docks in mgo golang??
Hello, I decided to try mongo, I found handles for it on the site for go - the MGO package .
so, to simple examples
of stucturing
type User struct{
Name string
Posts []Post
}
type Post struct{
Post string
}
type User struct{
Name string
}
type Post struct{
User User.id
Post string
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question