package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Mar 18, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
All directories under the testdata folder are considered separate test suites and are executed by the TestAll
The following rules apply:
- each folder should define entities - a ".go" file(s) with struct(s)
- each entity should have a special "-obx.go.expected" file with the expected content of the generated bindings
- each folder should include "objectbox-model.json.expected" - expected content of the ".json" model information
- each folder should include "objectbox-model.go.expected" - expected content of the ".go" model composition code
- there can be a "objectbox-model.json.initial" - it would be used as an initial value for the ".json" file before executing the generator
Negative tests
When a file ends with .fail.go
, it's considered a negative test (the generation should fail):
- it should not generate a binding (thus there's no need for the ".obx.go.expected" file)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.