(feat): Adds support for a few new configuration options, all of which are shown below:
(feat):
1 version: 0.36.02 config:3 packageLayout: flat4 clientName: Acme5 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:
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} ```