Introducing Go : Build Reliable, Scalable Programs

個数:

Introducing Go : Build Reliable, Scalable Programs

  • 提携先の海外書籍取次会社に在庫がございます。通常2週間で発送いたします。
    重要ご説明事項
    1. 納期遅延や、ご入手不能となる場合が若干ございます。
    2. 複数冊ご注文の場合、分割発送となる場合がございます。
    3. 美品のご指定は承りかねます。

  • 提携先の海外書籍取次会社に在庫がございます。通常約2週間で発送いたします。
    重要ご説明事項
    1. 納期遅延や、ご入手不能となる場合が若干ございます。
    2. 複数冊ご注文の場合、分割発送となる場合がございます。
    3. 美品のご指定は承りかねます。
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 111 p.
  • 言語 ENG,ENG
  • 商品コード 9781491941959
  • DDC分類 005

Full Description


Perfect for beginners familiar with programming basics, this hands-on guide provides an easy introduction to Go, the general-purpose programming language from Google. Author Caleb Doxsey covers the language's core features with step-by-step instructions and exercises in each chapter to help you practice what you learn. Go is a general-purpose programming language with a clean syntax and advanced features, including concurrency. This book provides the one-on-one support you need to get started with the language, with short, easily digestible chapters that build on one another. By the time you finish this book, not only will you be able to write real Go programs, you'll be ready to tackle advanced techniques. Jump into Go basics, including data types, variables, and control structures Learn complex types, such as slices, functions, structs, and interfaces Explore Go's core library and learn how to create your own package Write tests for your code by using the language's go test program Learn how to run programs concurrently with goroutines and channels Get suggestions to help you master the craft of programming

Table of Contents

Introduction                                       vii
1 Getting Started 1 (8)
Machine Setup 1 (1)
Text Editors 2 (1)
The Terminal 2 (1)
Environment 2 (1)
Go 3 (1)
Your First Program 4 (1)
How to Read a Go Program 5 (3)
Exercises 8 (1)
2 Types 9 (8)
Numbers 10 (1)
Integers 10 (1)
Floating-Point Numbers 10 (1)
Example 11 (1)
Strings 12 (1)
Booleans 13 (2)
Exercises 15 (2)
3 Variables 17 (8)
How to Name a Variable 20 (1)
Scope 20 (1)
Constants 21 (1)
Defining Multiple Variables 22 (1)
An Example Program 22 (1)
Exercises 23 (2)
4 Control Structures 25 (8)
The for Statement 26 (1)
The if Statement 27 (2)
The switch Statement 29 (2)
Exercises 31 (2)
5 Arrays, Slices, and Maps 33 (10)
Arrays 33 (3)
Slices 36 (1)
append 37 (1)
copy 37 (1)
Maps 38 (4)
Exercises 42 (1)
6 Functions 43 (12)
Your Second Function 43 (4)
Variadic Functions 47 (1)
Closure 47 (1)
Recursion 48 (1)
defer, panic, and recover 49 (1)
Panic and recover 50 (1)
Pointers 51 (1)
The * and & operators 51 (1)
new 52 (1)
Exercises 53 (2)
7 Structs and Interfaces 55 (8)
Structs 56 (1)
Initialization 56 (1)
Fields 57 (1)
Methods 57 (1)
Embedded Types 58 (1)
Interfaces 59 (3)
Exercises 62 (1)
8 Packages 63 (20)
The Core Packages 63 (1)
Strings 64 (3)
Input/Output 67 (1)
Files and Folders 68 (2)
Errors 70 (1)
Containers and Sort 70 (3)
Hashes and Cryptography 73 (2)
Servers 75 (1)
TCP 75 (2)
HTTP 77 (1)
RPC 78 (1)
Parsing Command-Line Arguments 79 (1)
Creating Packages 79 (2)
Documentation 81 (1)
Exercises 82 (1)
9 Testing 83 (4)
Exercises 86 (1)
10 Concurrency 87 (10)
Goroutines 87 (2)
Channels 89 (2)
Channel Direction 91 (1)
Select 91 (1)
Buffered Channels 92 (1)
An Example 93 (3)
Exercises 96 (1)
11 Next Steps 97 (12)
Study the Masters 97 (1)
Make Something 98 (1)
Team Up 98 (1)
A. Answers 99 (10)
Index 109