This commit is contained in:
Daniel Schmidt 2025-07-30 14:42:29 +02:00
parent 27e58b32ca
commit 064a55e356
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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]