-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdbc_production.go
50 lines (34 loc) · 977 Bytes
/
dbc_production.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
43
44
45
46
47
48
49
50
//+build without_dbc
package dbc
type DBC struct {
}
func New() *DBC {
return &DBC{}
}
func NewWithLogger(log Logger) *DBC {
return &DBC{}
}
func (dbc *DBC) Require(condition bool, msgs ...interface{}) {
}
func (dbc *DBC) Ensure(condition bool, msgs ...interface{}) {
}
func (dbc *DBC) Assert(condition bool, msgs ...interface{}) {
}
func (dbc *DBC) Check(condition bool, msgs ...interface{}) {
}
func (dbc *DBC) SimpleInvariant(validatedObject SimpleInvariantValidator, msgs ...interface{}) {
}
func (dbc *DBC) Invariant(validatedObject InvariantValidator, msgs ...interface{}) {
}
func Require(condition bool, msgs ...interface{}) {
}
func Ensure(condition bool, msgs ...interface{}) {
}
func Assert(condition bool, msgs ...interface{}) {
}
func Check(condition bool, msgs ...interface{}) {
}
func SimpleInvariant(validatedObject SimpleInvariantValidator, msgs ...interface{}) {
}
func Invariant(validatedObject InvariantValidator, msgs ...interface{}) {
}