Are there any full projects (like https://github.com/sosedoff/pgweb), or boilerplate (like https://github.com/Massad/gin-boilerplate) that are built with gin, chi, sqlx, or upper/db?
I want to learn how to structure a chi/gin project in an idiomatic way. Ideally it's a REST API backend project.
Thank you!
评论:
aboukirev:
diegobernardes:At least for
chi
I know that https://github.com/disintegration/bebop project uses it. There must be a lot of projects usinggin
. Go to https://godoc.org/ Search forchi
orgin
, then navigate to the documentation of the package. For example https://godoc.org/github.com/go-chi/chi forchi
package. Now scroll all the way down and find a single link that leads to list of packages that import this package. That's a starting point for further research.
ansrivas:I'm using chi at this project https://github.com/diegobernardes/flare, isn't ready yet, but if you want to look at the structure it's done.
saturn_vk:This is also a full fledged project implemented with chi, but the it still uses the old github repo in imports: https://github.com/anthonynsimon/parrot
I've started using chi in my project:
https://github.com/urandom/readeef/blob/2.0/api/api.go#L260
The chi usage is pretty much done now
