discord-gophers / goapi-gen

This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions
Apache License 2.0
132 stars 12 forks source link

Remove use of fmt.Errorf in generated code #85

Closed diamondburned closed 2 years ago

diamondburned commented 2 years ago

Error types now implement their own Error() string and Unwrap() error methods.

Karitham commented 2 years ago

urgh can this work