Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 316 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 316 Bytes

Documentation

Usage Examples

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