Go programming in easy steps
Book - 2020
"GO Programming in easy steps instructs you how to write code to create your own computer programs. It contains separate chapters demonstrating how to store information in data structures, how to control program flow using control structures, and how to create re-usable blocks of code in program functions. There are complete step-by-step example programs that demonstrate each aspect of coding, together with screenshots that illustrate the actual output when each program is executed"--Google Books.
Saved in:
- Subjects
- Genres
- Handbooks and manuals
- Published
-
Warwickshire, England :
In Easy Steps Limited
[2020]
- Language
- English
- Main Author
- Item Description
- Includes index.
"Discover Google's Go language (golang)" -- Cover. - Physical Description
- 192 pages : color illustrations ; 23 cm
- ISBN
- 9781840789195
- 1. Get Started
- Meet the Go Language
- Install the Go Tools
- Create the Go Workspace
- Write a Go Program
- Run a Go Program
- Format and Comment Code
- Explore the VS Code Editor
- Summary
- 2. Store Values
- Create Program Variables
- Display Variable Values
- Convert Data Types
- Fix Constant Values
- Point to Stored Values
- Summary
- 3. Perform Operations
- Do Arithmetic
- Assign Values
- Make Comparisons
- Assess Logic
- Juggle Bits
- Understand Precedence
- Summary
- 4. Control Flow
- Test a Condition
- Switch Cases
- Loop Several Times
- Loop While True
- Break Out of Loops
- Go to Labels
- Summary
- 5. Produce Functions
- Create a Basic Function
- Add Parameters
- Pass References
- Return Values
- Call Recursively
- Enclose Anonymously
- Pass Functions
- Handle Errors
- Separate Files
- Summary
- 6. Build Structures
- Group Data
- Attach Methods
- Embed Structs
- Encapsulate Features
- Compose Elements
- Satisfy Interfaces
- Embed Interfaces
- Summary
- 7. Create Arrays
- Create a basic Array
- Loop Through Elements
- Slice Arrays
- Make Slices
- Slices Versus Arrays
- Map Keys and Values
- Summary
- 8. Harness Time
- Get Dates
- Get Times
- Format Date and Time
- Set Date and Time
- Recognize Zones
- Delay Time
- Summary
- 9. Manage Data
- Unite Strings
- Split Strings
- Find Characters
- Convert Strings
- Calculate Areas
- Evaluate Numbers
- Round Decimals
- Generate Randoms
- Summary
- 10. Handle Input
- Get User Input
- Buffer Input
- Command Flags
- Read Files
- Write Files
- Use Temporary Files
- Summary
- 11. Employ Concurrency
- Create Goroutines
- Keep Waiting
- Make Channels
- Buffer Channels
- Select Channels
- Synchronize-Goroutines
- Use Worker Pools
- Summary
- 12. Request Responses
- Listen for Requests
- Handle a Request
- Add Files to Serve
- Deliver a Static Page
- Log Received Data
- Deliver a Dynamic Response
- Summary
- Index