gob 0.1.0

serde support for the gob binary format
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import (
	"encoding/gob"
	"os"
)

type Point struct {
	X int64
	Y int64
}

func main() {
	var enc = gob.NewEncoder(os.Stdout)
	enc.Encode(Point{X: 22, Y: 33})
}