Settings

Theme

Ask HN: Best setup for Golang HTTP API development in 2026?

7 points by labarilem 17 days ago · 1 comment


jordiburgos 17 days ago

If you are asking for project setup, I think I got it working to do the least effort to get an API described and implemented.

https://github.com/jmaister/taronja-gateway

Take a look to the api/ folder where there is an OpenAPI spec, and to the Makefile ('gen' task). Most of the code is generated by OpenAPI generators one for the server implementation and one for the TypeScript SDK that runs in the client (browser)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection