database: sqlx, upper, sqlboiler
log: zap, zerolog
dependency management: dep
config: viper
cli: cobra
lint: gometalinter
Trying https://github.com/improbable-eng/grpc-web and http://rest-layer.io
41–47 of 47 posts
database: sqlx, upper, sqlboiler
log: zap, zerolog
dependency management: dep
config: viper
cli: cobra
lint: gometalinter
Trying https://github.com/improbable-eng/grpc-web and http://rest-layer.io
In other words, what is Go's main selling point in competing with Node in terms of its http server, TCP sockets, etc...
Can Go's awesome concurrency patterns be used to optimize server requests? Can it be well utilized as a proxy?
* 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…
Just took a look at Chi's RESTful API example, I like it. I also like the benchmarks. Judging by most of the comments on this thread, it looks like the community favors modular small tools over big fat frameworks, is that true?
Big framework comes at big cost when trying to upgrade to a new version because it’s surface area is big.
gRPC, gRPC-Gateway, pgx, memcached, gorilla secure cookie, gorilla CSRF, gRPC-opentracing with Google Stackdriver integration, Uber-zap logging
Interesting. What do you use gRPC for?
Android uses grpc-java iOS uses grpc-objc Browser uses gRPC-Gateway and the JSON equivalent of the protobuf3 spec.
Earlier quoted context omitted.
Any chance you have that ORM of yours open-sourced somewhere?
No, but (1) sqlboiler is a much better ORM, and (2) it is surprisingly easy to build these things yourself; mine's just a bunch of text/template templates and ~100 lines of Go code to scrape a Postgres schema. (I mean: this code will be open sourced pretty soon, since it's part of a bigger open source thingy I'm releasing, but the ORM isn't very good, just as good as I needed it to be; nobody should ever use it for a…
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…
And I also use "bindata" to compile all my static files into the final binary [10].