swagger-codegen generate -i https://connects.torusdigital.com -l go -o go_api_client
Using the downloaded YAML file:
swagger-codegen generate -i swagger.yaml -l go -o go_api_client
Command Line TIP
-h, --help: Displays help messages and exits.
-l, --lang: Specifies the programming language for the generated SDK.
-o, --output: Specifies the output directory for the generated files (default is the current directory).
-i, --input-spec: Specifies the location of the Swagger specification, either as a URL or a file (required).