pull/37389/head
Daniel Schmidt 10 months ago
parent 27e58b32ca
commit 064a55e356

@ -65,7 +65,7 @@ type ActionTriggerEvent int
//go:generate go tool golang.org/x/tools/cmd/stringer -type ActionTriggerEvent
const (
Unkonwn ActionTriggerEvent = iota
Unknown ActionTriggerEvent = iota
BeforeCreate
AfterCreate
BeforeUpdate

@ -8,7 +8,7 @@ func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[Unkonwn-0]
_ = x[Unknown-0]
_ = x[BeforeCreate-1]
_ = x[AfterCreate-2]
_ = x[BeforeUpdate-3]

Loading…
Cancel
Save