func main {
var testData struct {
Hello []string
} = struct{ Hello []string }{
[]string{"World", "world"},
}
err := GOBWrite("test.go", testData)
if err != nil {
log.Error(err)
}
err = GOBRead("test.go", &testData)
if err != nil {
log.Error(err)
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
tarumes/goblin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
easy Read/Write gob files with golang
Resources
Stars
Watchers
Forks
Packages 0
No packages published