generated from dogmatiq/template-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhierarchy_test.go
42 lines (34 loc) · 1.02 KB
/
hierarchy_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package configkit_test
import . "github.com/dogmatiq/configkit"
// Following is a set of static assertions that confirms the "inheritance"
// relationships between the various interfaces are as expected.
//
// The expressions can be read as TypeOnLeft (is implemented by) TypeOnRight.
var (
// Entity
_ Entity = RichEntity(nil)
// Application
_ Entity = Application(nil)
_ RichEntity = RichApplication(nil)
_ Application = RichApplication(nil)
// Handler
_ Entity = Handler(nil)
_ RichEntity = RichHandler(nil)
_ Handler = RichHandler(nil)
// Aggregate
_ Handler = Aggregate(nil)
_ RichHandler = RichAggregate(nil)
_ Aggregate = RichAggregate(nil)
// Process
_ Handler = Process(nil)
_ RichHandler = RichProcess(nil)
_ Process = RichProcess(nil)
// Integration
_ Handler = Integration(nil)
_ RichHandler = RichIntegration(nil)
_ Integration = RichIntegration(nil)
// Projection
_ Handler = Projection(nil)
_ RichHandler = RichProjection(nil)
_ Projection = RichProjection(nil)
)