typesense / typesense-go

Go client for Typesense: https://github.com/typesense/typesense
Apache License 2.0
208 stars 55 forks source link

Run oapi-codegen via go run #163

Closed cysp closed 3 months ago

cysp commented 3 months ago

Change Summary

I was looking at updating the oapi-codegen package in this project and found it difficult to run the existing code generation tool because the project expects the required binary to already be present in $GOBIN. I've adopted the "tools.go" approach here, depending on the generation tool associated with the currently-used oapi-codegen package.

PR Checklist