12 lines
336 B
Go
12 lines
336 B
Go
//go:build assert_disable
|
|
|
|
package assert
|
|
|
|
// That is a no-op in assert_disable builds; the compiler eliminates the call
|
|
// and its condition entirely.
|
|
func That(_ bool, _ string) {}
|
|
|
|
// Thatf is a no-op in assert_disable builds; the compiler eliminates the call
|
|
// and its condition entirely.
|
|
func Thatf(_ bool, _ string, _ ...any) {}
|