Go without a framework and just the standard lib is already about equivalent to Python with FastAPI.
All you need to do is add a logger of choice, which will be different based on your architecture (one / multiple servers) anyway.
You might want to add user auth, which is often an external server anyway.
Maybe you want some boilerplate / codegen tool to add/remove/select objects from a database. But I personally don't use that because it's hard to optimize performance with those tools and SQL is already a good tool for it imho, don't need an extra abstraction.
In summary, all you need is the standard lib and maybe 3 external libs in Go, because it was made in a time when an api was already pretty standard.
In other languages you need way more extra stuff to create an api, so the need for a framework is greater.
All you need to do is add a logger of choice, which will be different based on your architecture (one / multiple servers) anyway.
You might want to add user auth, which is often an external server anyway.
Maybe you want some boilerplate / codegen tool to add/remove/select objects from a database. But I personally don't use that because it's hard to optimize performance with those tools and SQL is already a good tool for it imho, don't need an extra abstraction.
In summary, all you need is the standard lib and maybe 3 external libs in Go, because it was made in a time when an api was already pretty standard.
In other languages you need way more extra stuff to create an api, so the need for a framework is greater.