equinix-labs / metal-go

[Deprecated] Golang client for Equinix Metal
https://deploy.equinix.com/labs/equinix-sdk-go/
MIT License
3 stars 2 forks source link

refactor: move all client modifications into template #173

Closed ctreatma closed 11 months ago

ctreatma commented 11 months ago

We hadn't introduced custom templates when we updated client.go to dump deprecation & sunset headers to match packngo behavior; that change was made with a post-patch instead. Now that we are heavily using custom templates to get the generator to spit out the code we want, we can move all client modifications to the client.mustache template and avoid potential adverse interactions between the post-patch and the custom template.

github-actions[bot] commented 11 months ago

This PR is included in version 0.28.0 :tada: