- 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/.
推薦閱讀
- Mobile Web Performance Optimization
- 編程的修煉
- 高效微控制器C語言編程
- Mastering Selenium WebDriver
- 無代碼編程:用云表搭建企業(yè)數(shù)字化管理平臺
- SQL Server 2012數(shù)據(jù)庫技術及應用(微課版·第5版)
- MATLAB 2020 從入門到精通
- Python程序設計案例教程
- EPLAN實戰(zhàn)設計
- Instant PHP Web Scraping
- Android驅動開發(fā)權威指南
- Hands-On Full Stack Development with Spring Boot 2.0 and React
- Hadoop大數(shù)據(jù)分析技術
- SwiftUI極簡開發(fā)
- 你好!Java