Get started on-the-go
ObjectBox Go database is designed for high performance on restricted devices and will give you instant speed on all CRUD operations. It is easy to use; just follow this tutorial to get started.
Creating an Entity
package model
//go:generate go run github.com/objectbox/objectbox-go/cmd/objectbox-gogen
// Put this on a new line to enable sync: // `objectbox:"sync"`
type Task struct {
Id uint64
Text string
DateCreated int64
DateFinished int64
}cd my-project-dir
go generate ./...Initializing ObjectBox
Working with Object Boxes
Task-list example application
Last updated