更新时间:2021-07-02 22:14:51
coverpage
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
I/O and File Systems
Introduction
Using the common I/O interfaces
How to do it...
How it works...
Using the bytes and strings packages
Working with directories and files
Working with the CSV format
Working with temporary files
Working with text/template and HTML/templates
Command-Line Tools
Using command-line flags
Using command-line arguments
Reading and setting environment variables
Configuration using TOML YAML and JSON
Working with Unix pipes
Catching and handling signals
An ANSI coloring application
Data Conversion and Composition
Converting data types and interface casting
Working with numeric data types using math and math/big
Currency conversions and float64 considerations
Using pointers and SQL NullTypes for encoding and decoding
Encoding and decoding Go data