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.
1
2
3
4
5
- name: fernapi/fern-go-std
  version: 0.0.0
  output:
    location: local-file-system
    path: ../../generated/server-boilerplate/go