Skip to content

joefitzgerald/openair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A go generator for the OpenAir XML API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages