|
|
|
|
|
by yencabulator
778 days ago
|
|
Frankly, this looks horrible. Generics and weird calling conventions instead of setting struct fields, no thanks. zone, err: = client.Zones.New(context.Background(), zones.ZoneNewParams {
Account: cloudflare.F(zones.ZoneNewParamsAccount {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(zones.ZoneNewParamsTypeFull),
})
|
|