MCPcopy Index your code
hub / github.com/DoNewsCode/core / isModule

Function isModule

c.go:470–472  ·  view source on GitHub ↗
(v reflect.Type)

Source from the content-addressed store, hash-verified

468var _moduleType = reflect.TypeOf((*di.Modular)(nil)).Elem()
469
470func isModule(v reflect.Type) bool {
471 return v.Implements(_moduleType)
472}

Callers 1

provideMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected