type Foo struct {
A int
B string
}
p := &Foo{111,"A string"}
byteslice, err := gob.Marshal(p)
...
foo := new(Foo)
err := gob.Unmarshal(byteslice, foo)
...
-
Notifications
You must be signed in to change notification settings - Fork 0
gotamer/gob
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|