Live data from Hacker News

Ask HN: What is your Golang web-dev tech stack?

news.ycombinator.com

21–30 of 47 posts

Re: Ask HN: What is your Golang web-dev tech stack?

#22
* Standard library for a lot of things.

* https://github.com/go-chi/chi is pretty good. I have a need for a lot of custom middlewares, so I need something more fleshed out than net/http.

* All config files are written in TOML: https://github.com/BurntSushi/toml

* https://github.com/gocql/gocql for all Cassandra needs.

* Development work is done in Docker so everyone has a consistent env.

That's all, I tend to dislike overarching frameworks. Smaller libraries work better for me.

Re: Ask HN: What is your Golang web-dev tech stack?

#23
We rolled our own, nice benefit is everything registers events with the same logging subsystem and lets us define central hooks for common things like errors (to send to reporters).

Web: https://github.com/blendlabs/go-web

DB: https://github.com/blendlabs/spiffy

Migrations: https://github.com/blendlabs/spiffy/migration

Logger: https://github.com/blendlabs/go-logger

CRON: https://github.com/blendlabs/go-chronometer

Re: Ask HN: What is your Golang web-dev tech stack?

#26
post #11
post #10

I've started using Echo[1] and it seems to provide most of what I'm looking for (routing, context, sessions, CSRF protection, form/json binding, etc). For templating, I'm using QuickTemplate[2] which creates statically generated templates, but Pongo2[3] and Jet[4] also look reasonable. sqlx[5], gorm[6], and sqlboiler[7] all seem reasonable for database access, depending on what your style is (sqlx being oriented towa…

Sweet! Buffalo looks really interesting. I was playing with Sails the other day, which is a Rails-like framework for nodejs, I will try Buffalo and try to compare the experience. Would you recommend Buffalo for a JSON Web API mobile backend project or would it be an overkill?

I don't know how relevant it is, but the creator of Buffalo has a video explaining how to hook up Vue to the framework: https://blog.gobuffalo.io/using-vue-js-with-buffalo-video-ee...
Post reply on HN