add swagger
This commit is contained in:
@@ -45,7 +45,7 @@ func Provide(opts ...opt.Option) error {
|
||||
o := opt.New(opts...)
|
||||
var config http.Config
|
||||
if err := o.UnmarshalConfig(&config); err != nil {
|
||||
log.Fatal(err)
|
||||
return err
|
||||
}
|
||||
|
||||
return container.Container.Provide(func() (http.Service, error) {
|
||||
|
||||
Reference in New Issue
Block a user