Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
468
var
_moduleType = reflect.TypeOf((*di.Modular)(nil)).Elem()
469
470
func
isModule(v reflect.Type) bool {
471
return
v.Implements(_moduleType)
472
}
Callers
1
provide
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected