I am new to Beego and I'm really enjoying the framework, I was wondering if it was possible to include a sample that had a database back-end.
There are probably lots of ways to structure this but if a sample included one possible way (the idiomatic way) it would really be helpful for new people.
For example, it would answer some of the following questions (of which I'm unsure about myself).
How do I connect my application to a database
Where should my CRUD logic go (in the model or in the controller?)
Hello,
I am new to Beego and I'm really enjoying the framework, I was wondering if it was possible to include a sample that had a database back-end.
There are probably lots of ways to structure this but if a sample included one possible way (the idiomatic way) it would really be helpful for new people.
For example, it would answer some of the following questions (of which I'm unsure about myself).