January 22, 2025

0.36.0

(feat): Adds support for a few new configuration options, all of which are shown below:

- name: fern-api/fern-go-sdk
1 version: 0.36.0
2 config:
3 packageLayout: flat
4 clientName: Acme
5 clientConstructorName: New

With this, the generated SDK will all be deposited at the root of the module, and the client can be constructed like so:

package main
1import (
2 "context"
3 "fmt"
4 "log"
5 acme "github.com/acme/acme-go"
6)
7func main() {
8 client := acme.New()
9 response, err := client.GetUser(
10 context.Background(),
11 &acme.GetUserRequest{
12 ID: "85307b0b-094b-41b5-b61d-347ca15e5da2",
13 },
14 )
15 if err != nil {
16 log.Fatal(err)
17 }
18 fmt.Println(response)
19} ```