Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File represents a destination file to be written ID is the relative path of the file in its originating directory Data is a sequence of hexa string chunks representing the file as a binary resource
type Source ¶
Source represents a source model bound to a specific language Name is the name of the file to be written without extension NS is the destination namespace from where resources should be fetched Template is the source code template to be used for writing the file Extension is the destination file extension (eg .h for cpp lang) Files are the files to be written as binary resources accessible within NS
func NewCppSource ¶
NewCppSource returns a binary data cpp source model
func NewGoSource ¶
NewGoSource returns a binary data go source model
func NewSource ¶
NewSource generates a source model, bound to a specific language with a preallocated files storage
func (Source) GetFileName ¶
GetFileName returns the definitive file name to be written