- 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/.
推薦閱讀
- VMware View Security Essentials
- C# Programming Cookbook
- MATLAB圖像處理超級學習手冊
- Mastering PHP Design Patterns
- Kali Linux Wireless Penetration Testing Beginner's Guide(Third Edition)
- Visual Basic程序設計實驗指導(第二版)
- Scala for Machine Learning(Second Edition)
- INSTANT Adobe Edge Inspect Starter
- JavaScript應用開發實踐指南
- Hands-On Neural Network Programming with C#
- Django 3.0應用開發詳解
- 區塊鏈架構之美:從比特幣、以太坊、超級賬本看區塊鏈架構設計
- 算法設計與分析:基于C++編程語言的描述
- 面向對象程序設計及C++(第3版)
- Getting Started with Backbone Marionette