aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/spfinal.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-08 19:48:04 +0900
committerOphestra <cat@gensokyo.uk>2025-10-08 20:02:09 +0900
commite5baaf416f1404a4a9ae8581603524d868716325 (patch)
tree944ef5ffc3c1a094a6ba21ff075a26e16618cd76 /internal/app/spfinal.go
parentee6c471fe6e183d78e396a23b2a92fd26bb31143 (diff)
internal/app: check transmitted ops
This simulates params to shim and this is the last step before params to shim is merged. Signed-off-by: Ophestra <cat@gensokyo.uk>
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{}