- Go Systems Programming
- Mihalis Tsoukalos
- 121字
- 2021-07-02 18:07:57
User input and output
According to the Unix philosophy, when a program finishes its job successfully, it generates no output. However, for a number of reasons, not all programs finish successfully and they need to inform the user about their issues by printing appropriate messages. Additionally, some system tools need to get input from the user in order to decide how to handle a situation that might come up.
The hero of Go user input and output is the fmt package, and this section is going to show you how to perform these two tasks by starting with the simplest one.
The best place to learn more about the fmt package is its documentation page, which can be found at https://golang.org/pkg/fmt/.
推薦閱讀
- C語言程序設計教程
- ASP.NET MVC4框架揭秘
- Java開發入行真功夫
- 人人都是網站分析師:從分析師的視角理解網站和解讀數據
- Building a Quadcopter with Arduino
- 表哥的Access入門:以Excel視角快速學習數據庫開發(第2版)
- C程序設計實踐教程
- Learning Unreal Engine Android Game Development
- 小程序,巧應用:微信小程序開發實戰(第2版)
- 編程可以很簡單
- Magento 2 Beginners Guide
- Less Web Development Cookbook
- C++從零開始學(視頻教學版)(第2版)
- Node.js Web Development
- Puppet Essentials