Skip to content

gotamer/gob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GoTamer gob v2

Example

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)
...