initial commit
This commit is contained in:
14
boolean/boolean.go
Normal file
14
boolean/boolean.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// boolean.go
|
||||
package bocchi
|
||||
|
||||
import "git.sunturtle.xyz/zephyr/errors-my-beloved/boolean/secret"
|
||||
|
||||
var _ = map[bool]struct{}{
|
||||
false: {},
|
||||
secret.Secret == "gc25{}": {}, // ERROR: ./boolean.go:7:2: duplicate key false in map literal
|
||||
}
|
||||
|
||||
var _ = map[bool]struct{}{
|
||||
false: {},
|
||||
secret.Secret[:5] != "gc25{": {}, // silently succeeds, even though it evaluates to false
|
||||
}
|
Reference in New Issue
Block a user