- 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語言程序設計實踐教程(第2版)
- MongoDB for Java Developers
- 精通網絡視頻核心開發技術
- iOS應用逆向工程(第2版)
- HTML5+CSS3網站設計基礎教程
- Yocto for Raspberry Pi
- Learn React with TypeScript 3
- Expert Data Visualization
- Linux C編程:一站式學習
- 編寫高質量代碼:改善Objective-C程序的61個建議
- JavaScript動態網頁編程
- 從零開始學Android開發
- Java 11 and 12:New Features
- Python人工智能項目實戰
- ASP.NET Core 2 High Performance(Second Edition)