goLang小案例-获取从控制台输入的信息 1. 案例代码展示 package main import ( "bufio" "fmt" "log" "os" ) var pl = fmt.Println func main() { //控制台输出欢迎提示 pl(&#