objectbox-gogen

command
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Generates objectbox related code for ObjectBox entities (Go structs)

It can be used by adding `//go:generate objectbox-gogen` comment inside a .go file containing the struct that you want to persist and executing `go generate` in the module

Alternatively, you can run the command manually:

objectbox-gogen [flags]

The flags are

-persist string
      path to the model information persistence file
-source string
      path to the source file containing structs to process

To learn more about different configuration and annotations for entities, see docs at https://golang.objectbox.io/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL