可以透過 Fprint 、 Fprintln 、 Fprintf 等函式,第一個引數指定 os.Stderr 。例如: package main import ( "fmt" "os" ) func main() { fmt.Fprintln(os.
確定! 回上一頁