forked from loafle/openapi-generator-original
* fix: change indent style to tab in the mustache to generate Go code * docs: standardize the language names for code blocks * docs: change indent style to tab in the code blocks * update: regenerate samples * `./bin/generate-samples.sh ./bin/configs/*.yaml`
12 lines
263 B
Go
12 lines
263 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
|
|
}
|