framework1/framework/provider/id/provider.go

30 lines
559 B
Go

package id
import (
"github.com/Superdanda/hade/framework"
"github.com/Superdanda/hade/framework/contract"
)
type HadeIDProvider struct {
}
func (h HadeIDProvider) Register(container framework.Container) framework.NewInstance {
return nil
}
func (h HadeIDProvider) Boot(container framework.Container) error {
return nil
}
func (h HadeIDProvider) IsDefer() bool {
return false
}
func (h HadeIDProvider) Params(container framework.Container) []interface{} {
return []interface{}{}
}
func (h HadeIDProvider) Name() string {
return contract.IDKey
}