GenerateChiServer generates all the go code for the ServerInterface as well as all the wrapper functions around our handlers.
(t *template.Template, operations []OperationDefinition)
| 1272 | // GenerateChiServer generates all the go code for the ServerInterface as well as |
| 1273 | // all the wrapper functions around our handlers. |
| 1274 | func GenerateChiServer(t *template.Template, operations []OperationDefinition) (string, error) { |
| 1275 | return GenerateTemplates([]string{"chi/chi-interface.tmpl", "chi/chi-middleware.tmpl", "chi/chi-handler.tmpl"}, t, operations) |
| 1276 | } |
| 1277 | |
| 1278 | // GenerateFiberServer generates all the go code for the ServerInterface as well as |
| 1279 | // all the wrapper functions around our handlers. |
no test coverage detected