How to test below the code in Golang?
package main
import "log"
func main() {
log.Println("hello world")
}
How to test below the code in Golang?
package main
import "log"
func main() {
log.Println("hello world")
}
Your program writes to the log
package standard logger which writes to standard error. Compile and run your program and see what appears on standard error.