Documentation
¶
Overview ¶
🦀 Rust code parser & type-safe interface for Golang. ✨
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CGo ¶
func CGo(goFuncs []Gofunc, options ExecuteOptions)
func ExploreFolder ¶
ExploreFolder gets the rootFolder path and returns the filePath of all the .rs files located on the folder
func GetFunctions ¶
GetFunctions parse the files according to the slice of filePaths from the arguments. It returns an slice of Rustfn(structs) that stores the name, parameter (with types) & the returned values (with types)
Types ¶
type ExecuteOptions ¶
type ExecuteOptions = runtime.ExecuteOptions
type Gofunc ¶
func ConvertRsFnSliceToGo ¶
ConvertRsFnSliceToGo gets an slice of RustFn and returns the corresponding transpilation to Gofunc slice. For individual implementation is a Rustfn struct method (Rustfn -> Gofunc)
Click to show internal directories.
Click to hide internal directories.