Files
llgo/_demo/hello/hello.go

18 lines
238 B
Go
Raw Normal View History

2024-05-06 22:31:33 +08:00
package main
import (
"fmt"
2024-05-06 22:31:33 +08:00
"github.com/goplus/llgo/c"
)
func main() {
println("hello world by println")
fmt.Println("hello world by fmt.Println")
c.Printf(c.Str("Hello world by c.Printf\n"))
2024-05-06 22:31:33 +08:00
}
/* Expected output:
Hello world
2024-05-06 22:31:33 +08:00
*/