Merge pull request #9 from KittyCAD/update-spec-v0.0.8

Update go lang spec docs for v0.0.8
This commit is contained in:
Jess Frazelle
2022-04-04 10:14:34 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM python:latest FROM python:3.9
RUN pip install \ RUN pip install \
poetry poetry

View File

@ -316,7 +316,7 @@
}, },
"termsOfService": "https://kittycad.io/terms-and-conditions", "termsOfService": "https://kittycad.io/terms-and-conditions",
"title": "KittyCAD API", "title": "KittyCAD API",
"version": "0.0.2-6f1ca7e", "version": "0.0.2-e722556",
"x-go": { "x-go": {
"client": "// Create a client with your token.\nclient, err := kittycad.NewClient(\"$TOKEN\", \"your apps user agent\")\nif err != nil {\n panic(err)\n}\n\n// - OR -\n\n// Create a new client with your token parsed from the environment\n// variable: KITTYCAD_API_TOKEN.\nclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\nif err != nil {\n panic(err)\n}", "client": "// Create a client with your token.\nclient, err := kittycad.NewClient(\"$TOKEN\", \"your apps user agent\")\nif err != nil {\n panic(err)\n}\n\n// - OR -\n\n// Create a new client with your token parsed from the environment\n// variable: KITTYCAD_API_TOKEN.\nclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\nif err != nil {\n panic(err)\n}",
"install": "go get github.com/kittycad/kittycad.go" "install": "go get github.com/kittycad/kittycad.go"