Our great sponsors
-
Buffalo is currently built on Gorilla which complicates building a business on it right now as Gorilla has shifted to public archive since it has no maintainer. https://github.com/gobuffalo/buffalo/issues/2360
-
How do you find it compared to using something like https://github.com/kyleconroy/sqlc ? curious which enables faster "developer velocity"
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
bob
SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite (by stephenafamo)
Link: https://github.com/stephenafamo/bob
-
For deployment, you may not need a reverse proxy with Nginx or the likes. Certmagic will make HTTPS a breeze. Also makes it possible to handle multi-tenant SaaS domains SSL provisioning. While not the easiest, it was much easier than trying to do it at the reverse proxy and cheaper than doing it with Cloudflare's SaaS service.
-
Puts Debuggerer
Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.
Have a single source of truth and use strong types AS MUCH AS YOU CAN. While you may not have a lot of tests, having type safety makes maintaining and upgrading things a lot more manageable as a solo developer. You change an API field, regenerate and find errors, you do a DB migration, regenerate and find errors. This is why I prefer Bob (and it's predecessor SQLBoiler) over GORM. The type safety saves me time and every.
-
fully type-annotated options for building an API are available - one popular option is FastAPI and everything you expose is declared through pydantic. There is nothing as productive in Go I'm afraid.
-
fully type-annotated options for building an API are available - one popular option is FastAPI and everything you expose is declared through pydantic. There is nothing as productive in Go I'm afraid.
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
Im doing something similar! Has been working out so far. I would recommend code generation whenever possible to speed up dev time. I hate writing all the server boilerplate so https://github.com/deepmap/oapi-codegen has worked great for me.
-
Also yes I’ve been using gqlgen for one of my projects (where I would use bob actually) Github
-
I render everything on the server with Go templates and use AlpineJS to sprinkle interactivity.
-
Something to note is that all of this is still open source. Theoretically, someone can decide to fork SQLBoiler and add all the missing things, or send in a PR. A good example is that the current most popular uuid package. gofrs/uuid was forked from an unmaintained previously popular package.
-
Something to note is that all of this is still open source. Theoretically, someone can decide to fork SQLBoiler and add all the missing things, or send in a PR. A good example is that the current most popular uuid package. gofrs/uuid was forked from an unmaintained previously popular package.
Related posts
- Is there a way to generate controller from swagger through build tools?
- What is the recommended/preferred web architecture for web applications / services written in Go?
- Ask HN: Anyone here switch to Go for building (REST) APIs?
- Requesting opinion to evaluate frameworks vs stdlib for my use case
- Framework or advices for API