What do you think of this boilerplate?

224 views
Skip to first unread message

Omar Massad

unread,
Apr 5, 2016, 4:42:21 AM4/5/16
to golang-nuts
Hello Golangers, 

What do you think of this gin boilerplate? https://www.linkedin.com/pulse/golang-gin-framework-restful-apis-boilerplate-omar-massad

Thanks!

Justin Israel

unread,
Apr 5, 2016, 4:34:18 PM4/5/16
to Omar Massad, golang-nuts

I don't have a personal opinion but I have seen similar situations on this list where one person wants to use an mvc project structure, and others suggest grouping them by types instead..

ie

user/
    view.go
    db. go
article/
    view.go
    db.go

I assume it is for the purpose of not having to jump between different packages to manage a single entity. But rather, keeping it all together.


--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Egon

unread,
Apr 6, 2016, 2:45:36 AM4/6/16
to golang-nuts
Reply all
Reply to author
Forward
0 new messages