command
module
Version:
v0.0.0-...-6e96200
Opens a new window with list of versions in this module.
Published: Jul 10, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
OpenAir XML API Generator
Use go generate
to generate an API for the OpenAir XML API.
Usage
Note: This project requires Go 1.8 or later to build.
go get -u github.com/joefitzgerald/openair
- Create
definition.go
in a package that you wish to have generated files in, with the following content:
package openair
//go:generate openair -prefix=openair_ -suffix= -object=Customer,Project,User,Timetype,Timesheet,TaskTimecard,Task
- Run
go generate .
in the package that contains definition.go
- Observe new files generated:
openair_common.go
openair_customer.go
openair_project.go
openair_task.go
openair_tasktimecard.go
openair_timesheet.go
openair_timetype.go
openair_user.go
License
Apache 2.0
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.