wasm: use println instead of fmt

The generated wasm is 575 bytes when compiled with -no-debug (and
works), which is a much better first experience for new users than
the 20KB+ added (atm) just from including fmt.
Этот коммит содержится в:
Justin Clift 2019-04-30 15:25:50 +10:00 коммит произвёл Ron Evans
родитель 80ee343e6d
коммит 4bd1b9e53d

Просмотреть файл

@ -1,9 +1,5 @@
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello world!")
println("Hello world!")
}