typesense / typesense-go

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

Run mockgen via go run #164

Closed cysp closed 3 months ago

cysp commented 3 months ago

Change Summary

Similar to https://github.com/typesense/typesense-go/pull/163, I found it difficult to use the existing mockgen tool to complete the generation of api client code in this project. Further, it appears that the generated mocks have not been updated when updating to newer versions of the mockgen tool, so I've taken the liberty of re-generating them using the version of the tool currently used in this reject (which is the latest version available).

PR Checklist