作者简介 米哈里斯?图卡洛斯(Mihalis Tsoukalos),is a technical author, a Unix administrator, a developer, and a mathematician, who enjoys learning new things. He has written more than 250 technical articles for many publications, including Sys Admin, MacTech, Linux User and Developer,Usenix ;login:, Linux Format, and Linux Journal.
目录 Preface Chapter 1: Go and the Operating System The structure of the book The history of Go Why learn Go? Go advantages Is Go perfect? What is a preprocessor? The godoc utility Compiling Go code Executing Go code Two Go rules You either use a Go package or do not include it There is only one way to format curly braces Downloading Go packages Unix stalin, stdout, and stderr About printing output Using standard output Getting user input About := and = Reading from standard input Working with command-line arguments About error output Writing to log files Logging levels Logging facilities Log servers A Go program that sends information to log files About log.Fatal() About log.Panic() Error handling in Go The error data type Error handling Additional resources Exercises Summary Chapter 2: Understanding Go Internals The Go compiler Garbage Collection The Tricolor algorithm More about the operation of the Go Garbage Collector Unsafe code About the unsafe package Another example of the unsafe package Calling C code from Go Calling C code from Go using the same file Calling C code from Go using separate files The C code The Go code Mixing Go and C code Calling Go functions from C code The Go package The C code The defer keyword Panic and Recover Using the panic function on its own Two handy Unix utilities The strace tool The dtrace tool Your Go environment The Go Assembler Node Trees Learning more about go build General Go coding advices Additional Resources Exercises Summary Chapter 3: Working with Basic Go Data Types Go loops The for loop The while loop The range keyword Examples of Go for loops Go arrays Multi-dimensional arrays The shortcomings of Go arrays Go slices Performing basic operations on slices Slices are being expanded automatically Byte slices Chapter 4: The Uses of Composite Types Chapter 5: Enhancing Go Code with Data Structures Chapter 6: What You Might Not Know About Go Packages Chapter 7: Reflection and Interfaces for All Seasons Chapter 8: Telling a Unix System What to Do Chapter 9: Go Concurrency - Goroutines, Channels, and Pipelines Chapter 10: Go Concurrency- Advanced Topics Chapter 11: Code Testing, Optimization, and Profiling Chapter 12: The Foundations of Network Programming in Go Chapter 13: Network Programming - Building Servers and Clients Other Books You May Enjoy Index
以下为对购买帮助不大的评价