- Go Systems Programming
- Mihalis Tsoukalos
- 164字
- 2021-07-02 18:08:00
Advanced Go Features
In the previous chapter, you learned how to compile Go code, how to get input from the user and print the output on the screen, how to create your own Go functions, the data structures that Go supports, and how to process command-line arguments.
This chapter will discuss many fascinating things, so you better prepare yourselves for lots of interesting and practical Go code that will help you perform many different yet really important tasks, starting with error handling and ending with how to avoid some common Go mistakes. If you are familiar with Go, you can skip what you already know, but please do not skip the proposed exercises.
So, this chapter will talk about some advanced Go features, including:
- Error handling
- Error logging
- Pattern matching and regular expressions
- Reflection
- How to use the strace(1) and dtrace(1) tools to watch the system calls of Go executable files
- How to detect unreachable Go code
- How to avoid various common Go mistakes
推薦閱讀
- Python量化投資指南:基礎(chǔ)、數(shù)據(jù)與實(shí)戰(zhàn)
- INSTANT OpenCV Starter
- 算法基礎(chǔ):打開程序設(shè)計(jì)之門
- 華為HMS生態(tài)與應(yīng)用開發(fā)實(shí)戰(zhàn)
- 深入實(shí)踐Spring Boot
- Learning ELK Stack
- 劍指Java:核心原理與應(yīng)用實(shí)踐
- 焊接機(jī)器人系統(tǒng)操作、編程與維護(hù)
- 領(lǐng)域驅(qū)動(dòng)設(shè)計(jì):軟件核心復(fù)雜性應(yīng)對(duì)之道(修訂版)
- Mastering Akka
- Python預(yù)測(cè)分析與機(jī)器學(xué)習(xí)
- 百萬在線:大型游戲服務(wù)端開發(fā)
- Solr權(quán)威指南(下卷)
- 體驗(yàn)之道:從需求到實(shí)踐的用戶體驗(yàn)實(shí)戰(zhàn)
- Kohana 3.0 Beginner's Guide