Limit search to available items
Book Cover
E-book
Author D'Anna, Delio

Title The the Go Workshop : a New, Interactive Approach to Learning Go
Published Birmingham : Packt Publishing, Limited, 2019

Copies

Description 1 online resource (821 pages)
Contents Cover -- FM -- Copyright -- Table of Contents -- Preface -- Chapter 1: Variables and Operators -- Introduction -- What Does Go Look Like? -- Exercise 1.01: Using Variables, Packages, and Functions to Print Stars -- Activity 1.01 Defining and Printing -- Declaring Variables -- Declaring a Variable Using var -- Exercise 1.02: Declaring a Variable Using var -- Declaring Multiple Variables at Once with var -- Exercise 1.03: Declaring Multiple Variables at Once with var -- Skipping the Type or Value When Declaring Variables -- Exercise 1.04: Skipping the Type or Value When Declaring Variables
Type Inference Gone Wrong -- Short Variable Declaration -- Exercise 1.05: Implementing Short Variable Declaration -- Declaring Multiple Variables with a Short Variable Declaration -- Exercise 1.06: Declaring Multiple Variables from a Function -- Using var to Declare Multiple Variables in One Line -- Non-English Variable Names -- Changing the Value of a Variable -- Exercise 1.07: Changing the Value of a Variable -- Changing Multiple Values at Once -- Exercise 1.08: Changing Multiple Values at Once -- Operators -- Exercise 1.09 Using Operators with Numbers -- Shorthand Operator
Exercise 1.10: Implementing Shorthand Operators -- Comparing Values -- Exercise 1.11: Comparing Values -- Zero Values -- Exercise 1.12 Zero Values -- Value versus Pointer -- Getting a Pointer -- Exercise 1.13: Getting a Pointer -- Getting a Value from a Pointer -- Exercise 1.14: Getting a Value from a Pointer -- Function Design with Pointers -- Exercise 1.15: Function Design with Pointers -- Activity 1.02: Pointer Value Swap -- Constants -- Exercise 1.16: Constants -- Enums -- Scope -- Activity 1.03: Message Bug -- Activity 1.04: Bad Count Bug -- Summary -- Chapter 2: Logic and Loops
Introduction -- if Statements -- Exercise 2.01: A Simple if Statement -- if else Statements -- Exercise 2.02: Using an if else Statement -- else if Statements -- Exercise 2.03: Using an else if Statement -- The Initial if Statement -- Exercise 2.04: Implementing the Initial if Statements -- Activity 2.01: Implementing FizzBuzz -- Expression switch Statements -- Exercise 2.05: Using a switch Statement -- Exercise 2.06: switch Statements and Multiple case Values -- Exercise 2.07: Expressionless switch Statements -- Loops -- Exercise 2.08: Using the for i Loop
Exercise 2.09: Looping Over Arrays and Slices -- The range Loop -- Exercise 2.10: Looping Over a Map -- Activity 2.02: Looping Over Map Data Using range -- break and continue -- Exercise 2.11: Using break and continue to Control Loops -- Activity 2.03: Bubble Sort -- Summary -- Chapter 3: Core Types -- Introduction -- True and False -- Exercise 3.01: Program to Measure Password Complexity -- Numbers -- Integer -- Floating Point -- Exercise 3.02: Floating-Point Number Accuracy -- Overflow and Wraparound -- Exercise 3.03: Triggering Number Wraparound -- Big Numbers -- Exercise 3.04: Big Numbers
Summary Cut through the noise and get real results with a step-by-step approach to learning Go programming
Notes Byte
Bibliography Includes bibliographical references
Notes Print version record
Subject Go (Computer program language)
Computer programming -- software development.
Web programming.
Programming & scripting languages: general.
Computers -- Programming Languages -- General.
Computers -- Programming -- Open Source.
Computers -- Internet -- Application Development.
Go (Computer program language)
Form Electronic book
Author Hayes, Andrew
Hennessy, Sam
Leasor, Jeremy
Sougrakpam, Gobin
Szabó, Dániel
ISBN 1838640150
9781838640156