Show HN: BoGO – Generate Go back end services directly from SQL files

I built boGO, an open-source tool that generates a complete Go backend service directly from your SQL schema or queries.

You just write your tables or SQL definitions, run the generator, and boGO produces:

Models and repository code

API handlers and routes

A ready-to-run backend project structure

The main goal is to help developers bootstrap backend services quickly, explore Go project architecture, or prototype APIs without boilerplate.

The generated code follows clean architecture principles and is easy to extend or customize. It’s also a nice starting point for learning how SQL maps into production-grade Go code.

Repo: github.com/withbogo/bogo

There’s still a lot of potential for improvement. I’d love feedback, suggestions, or contributions. Check it out and let me know what you think!

2 points RizkiAnurka 1 year ago 2 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton