Server boilerplate

Go

Coming in 2024!


The Go generator generates types and networking logic for your Go server. This saves you time and add compile-time safety that you are serving the exact API that you specified in your API Definition.

We are considering building support for the following frameworks:

  • Standard library: no need to rely on an external library.
  • chi: a lightweight, idiomatic and composable router for building Go HTTP services.
  • gin: a Martini-like API with much better performance — up to 40 times faster.
generators.yml
1- name: fernapi/fern-go-std
2 version: 0.0.0
3 output:
4 location: local-file-system
5 path: ../../generated/server-boilerplate/go