Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdDev = &cli.Command{ Hidden: true, Name: "debug", Usage: "only for dev/debug", Action: func(c *cli.Context) error { wat, err := api.BuildFile( config.DefaultConfig(), "hello.wa", "func main() { println(123) }", ) if err != nil { if len(wat) != 0 { fmt.Println(string(wat)) } fmt.Println(err) os.Exit(1) } fmt.Println(string(wat)) return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.