aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/spfinal.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/spfinal.go')
-rw-r--r--internal/app/spfinal.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/app/spfinal.go b/internal/app/spfinal.go
index c8255080..b64d0806 100644
--- a/internal/app/spfinal.go
+++ b/internal/app/spfinal.go
@@ -1,6 +1,7 @@
package app
import (
+ "encoding/gob"
"fmt"
"slices"
"strings"
@@ -12,6 +13,8 @@ import (
"hakurei.app/system/acl"
)
+func init() { gob.Register(spFinal{}) }
+
// spFinal is a transitional op destined for removal after #3, #8, #9 has been resolved.
// It exists to avoid reordering the expected entries in test cases.
type spFinal struct{}