Documentation ¶
Index ¶
- Variables
- func ActiveClassInfo(name string, class interface{}) map[string]interface{}
- func ArgsFunctionMaker(before, after string) interface{}
- func ArrayInterfaceToString(inter interface{}) []string
- func ChooseTemplate(template string) func(string, string, interface{})
- func FunctionsNode(fnc map[string]interface{})
- func FunctionsPhp(fnc map[string]interface{})
- func FunctionsPython(fnc map[string]interface{})
- func FunctionsRuby(fnc map[string]interface{})
- func HandleError(e error)
- func MakeDir(name string)
- func MakeLibraryDir(name string)
- func MapKeysToStringArray(inter interface{}, exclude []string) []string
- func MethodList(class interface{}) []string
- func ModifyData(data *Data)
- func MoveDir(name string)
- func PathFunctionMaker(before, after string) interface{}
- func PrntFunctionMaker(boolcap bool, ...) interface{}
- func ReadJSON(name string, v interface{})
- func ReadTemplate(name string) *template.Template
- func WriteLibraries(directory string, opts *LanguageOptions)
- func WriteNode(data *Data)
- func WritePhp(data *Data)
- func WritePython(data *Data)
- func WriteRuby(data *Data)
- func WriteTemplate(temp *template.Template, out string, data interface{})
- type Data
- type LanguageOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var (
LibraryRoot string
)
Functions ¶
func ActiveClassInfo ¶
func ArgsFunctionMaker ¶
func ArgsFunctionMaker(before, after string) interface{}
func ArrayInterfaceToString ¶
func ArrayInterfaceToString(inter interface{}) []string
func ChooseTemplate ¶
func FunctionsNode ¶
func FunctionsNode(fnc map[string]interface{})
func FunctionsPhp ¶
func FunctionsPhp(fnc map[string]interface{})
func FunctionsPython ¶
func FunctionsPython(fnc map[string]interface{})
func FunctionsRuby ¶
func FunctionsRuby(fnc map[string]interface{})
func HandleError ¶
func HandleError(e error)
func MakeLibraryDir ¶
func MakeLibraryDir(name string)
func MapKeysToStringArray ¶
func MethodList ¶
func MethodList(class interface{}) []string
func ModifyData ¶
func ModifyData(data *Data)
func PathFunctionMaker ¶
func PathFunctionMaker(before, after string) interface{}
func PrntFunctionMaker ¶
func ReadTemplate ¶
func WriteLibraries ¶
func WriteLibraries(directory string, opts *LanguageOptions)
func WritePython ¶
func WritePython(data *Data)
func WriteTemplate ¶
Types ¶
type Data ¶
type LanguageOptions ¶
type LanguageOptions struct { Php bool `long:"no-php" description:"Do not write php library"` Python bool `long:"no-python" description:"Do not write python library"` Ruby bool `long:"no-ruby" description:"Do not write ruby library"` Node bool `long:"no-node" description:"Do not write node library"` }
Click to show internal directories.
Click to hide internal directories.