forked from loafle/openapi-generator-original
* Update codegen config * Add templates for Go Echo openapi-codegen * Add the yaml config file! * Add GoEchoServerCodegen.java. This is the first iteration, it works but probably needs a lot of improvements. * Update codegen, adds some comments. * Update GoEchoServerCodegen.java * Update GoEchoServerCodegen.java * Update GoEchoServerCodegen.java and related yaml file * Add the result of generate-samples.sh for CI purposes. * Add the result of bin/utils/ensure-up-to-date for CI purposes. * Update go-echo-server-petstore-new.yaml Fix the outputdir * Update in regard to result of ./bin/generate-samples.sh * Update in regard to result of ./bin/generate-samples.sh * Remove wrongly generated files * Add correct generated files. * Add changes regarding /bin/utils/ensure-up-to-date * Update templates to include comments. * Update/add result of ./bin/generate-samples.sh and ./bin/utils/export_docs_generators.sh
11 lines
268 B
Go
11 lines
268 B
Go
package handlers
|
|
|
|
// Container will hold all dependencies for your application.
|
|
type Container struct {
|
|
}
|
|
|
|
// NewContainer returns an empty or an initialized container for your handlers.
|
|
func NewContainer() (Container, error) {
|
|
c := Container{}
|
|
return c, nil
|
|
} |