Skip to content

Commit ac9f061

Browse files
committed
sync doc with new api
1 parent e2eb7a6 commit ac9f061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/xlang_serialization_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ func main() {
481481
F3 map[string]string
482482
}
483483
fory := forygo.NewFory(true)
484-
if err := fory.Register(SomeClass{}, "example.SomeClass"); err != nil {
484+
if err := fory.Register(SomeClass{}, 65); err != nil {
485485
panic(err)
486486
}
487487
value := &SomeClass{F2: map[string]string{"k1": "v1", "k2": "v2"}}

0 commit comments

Comments
 (0)