- 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
推薦閱讀
- HornetQ Messaging Developer’s Guide
- 大學計算機基礎(第三版)
- Python程序設計教程(第2版)
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- C#編程入門指南(上下冊)
- Machine Learning with R Cookbook(Second Edition)
- Python數據可視化之Matplotlib與Pyecharts實戰
- H5頁面設計:Mugeda版(微課版)
- 快人一步:系統性能提高之道
- 劍指Java:核心原理與應用實踐
- 平面設計經典案例教程:CorelDRAW X6
- Python編程基礎教程
- Developer,Advocate!
- Learning Redis
- Python輕松學:爬蟲、游戲與架站