Go
Installation
CodeMaker AI Golang SDK can be added to Go module using go get
command:
Usage
Next in code instantiate API Client and pass the API Key:
To trigger the code generation process invoke the CreateProcess
API:
This will create a new code generation task. The return response contains a unique task id, which can be used for checking the task status and retrieving the generated output. The status of the task can be checked afterward using GetProcessStatus
API.
Once the task will be COMPLETED
the generated result can be retrieved using GetProcessOutput
API.
Last updated