process.stderr.write("hello error\n");
Output
hello error
package main import ( "fmt" "os" ) func main() { fmt.Fprint(os.Stderr, "hello error\n") }
⬆ back to top
← stdout stdin→