Documentation ¶
Index ¶
- Constants
- Variables
- func ActiveClassInfo(name string, class interface{}) map[string]interface{}
- func ArgsFunctionMaker(before, after string) interface{}
- func ArrayInterfaceInterfaceToString(inter interface{}, key string) []string
- func ArrayInterfaceToString(inter interface{}) []string
- func CheckNode(data *Data) error
- func CheckPhp(data *Data) error
- func CheckPython(data *Data) error
- func CheckRuby(data *Data) error
- func ChooseTemplate(template string) func(string, string, interface{})
- func ConvertFormat(format string)
- 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 LoadLibraryPath(directory string)
- 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, this, after string) interface{}
- func PrntFunctionMaker(boolcap bool, ...) interface{}
- func ReadJSON(name string, v interface{})
- func ReadTemplate(name string) *template.Template
- func WriteLibraries(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
- type PkgStruct
Constants ¶
View Source
const (
Version = "0.2.1"
)
Variables ¶
View Source
var ( LibraryRoot string FormatList []string )
Functions ¶
func ActiveClassInfo ¶
func ArgsFunctionMaker ¶
func ArgsFunctionMaker(before, after string) interface{}
func ArrayInterfaceInterfaceToString ¶ added in v0.2.1
func ArrayInterfaceToString ¶
func ArrayInterfaceToString(inter interface{}) []string
func CheckPython ¶ added in v0.2.1
func ChooseTemplate ¶
func ConvertFormat ¶ added in v0.2.1
func ConvertFormat(format string)
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 LoadLibraryPath ¶ added in v0.2.1
func LoadLibraryPath(directory string)
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, this, after string) interface{}
func PrntFunctionMaker ¶
func ReadTemplate ¶
func WriteLibraries ¶
func WriteLibraries(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.