iot_server/internal/hummingbird/core/container/systemitf.go

17 lines
486 B
Go
Raw Normal View History

2023-08-29 07:36:46 +00:00
package container
import (
//"gitlab.com/tedge/edgex/internal/pkg/di"
//"gitlab.com/tedge/edgex/internal/tedge/resource/interfaces"
interfaces "github.com/winc-link/hummingbird/internal/hummingbird/core/interface"
"github.com/winc-link/hummingbird/internal/pkg/di"
)
// SystemItfName
var SystemItfName = di.TypeInstanceToName((*interfaces.SystemItf)(nil))
// SystemItfFrom
func SystemItfFrom(get di.Get) interfaces.SystemItf {
return get(SystemItfName).(interfaces.SystemItf)
}