feat: 补齐模块接口契约与管理 API 文档
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestWireAssemblesStubs(t *testing.T) {
|
||||
d := wire()
|
||||
if d.HashPool == nil || d.SessionTokens == nil || d.APITokens == nil || d.LoginLocks == nil {
|
||||
t.Fatal("auth deps missing")
|
||||
}
|
||||
if d.Messages == nil || d.Identity == nil || d.Groups == nil || d.Presence == nil {
|
||||
t.Fatal("app deps missing")
|
||||
}
|
||||
if d.Uplink == nil || d.Downlink == nil || d.Conns == nil {
|
||||
t.Fatal("port deps missing")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user