cmd/

directory
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: Apache-2.0

Directories

Path Synopsis
Generates objectbox related code for ObjectBox entities (Go structs) It can be used by adding `//go:generate go run github.com/objectbox/objectbox-go/cmd/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] [path-pattern] to generate the binding code or objectbox-gogen clean [path-pattern] to remove the generated files instead of creating them - this removes *.obx.go and objectbox-model.go but keeps objectbox-model.json path-pattern: * a path or a valid path pattern as accepted by the go tool (e.g.
Generates objectbox related code for ObjectBox entities (Go structs) It can be used by adding `//go:generate go run github.com/objectbox/objectbox-go/cmd/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] [path-pattern] to generate the binding code or objectbox-gogen clean [path-pattern] to remove the generated files instead of creating them - this removes *.obx.go and objectbox-model.go but keeps objectbox-model.json path-pattern: * a path or a valid path pattern as accepted by the go tool (e.g.

Jump to

Keyboard shortcuts

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