Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromIRBytes ¶
func FromIRBytes(irJSONBytes []byte) (spec.ConjureDefinition, error)
func FromIRFile ¶
func FromIRFile(file string) (spec.ConjureDefinition, error)
func Generate ¶
func Generate(conjureDefinition spec.ConjureDefinition, outputConfiguration OutputConfiguration) error
Types ¶
type OutputConfiguration ¶
type OutputFile ¶
type OutputFile struct {
// contains filtered or unexported fields
}
func GenerateOutputFiles ¶
func GenerateOutputFiles(conjureDefinition spec.ConjureDefinition, cfg OutputConfiguration) ([]*OutputFile, error)
func (*OutputFile) AbsPath ¶
func (f *OutputFile) AbsPath() string
func (*OutputFile) Render ¶
func (f *OutputFile) Render() ([]byte, error)
func (*OutputFile) Write ¶
func (f *OutputFile) Write() error
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package transforms provides common transformations from Conjure spec types and to Go specific types.
|
Package transforms provides common transformations from Conjure spec types and to Go specific types. |
Click to show internal directories.
Click to hide internal directories.