How To Code in Go



Download free course How To Code in Go, pdf file on 447 pages by Mark Bates, Cory LaNou, Tim Raymond.
This book is designed to introduce you to writing programs with the Go programming language. You'll learn how to write useful tools and applications that can run on remote servers, or local Windows, macOS, and Linux systems for development.

The topics that it covers include how to:
- Install and set up a local Go development environment on Windows, macOS, and Linux systems;
- Design your programs with conditional logic, including switch statements to control program flow;
- Define your own data structures and create interfaces to them for reusable code;
- Write custom error handling functions;
- Building and installing your Go programs so that they can run on different operating systems and different CPU architectures;
- Using flags to pass arguments to your programs, to override default options.

Each chapter can be read on its own or used as a reference, or you can follow the chapters from beginning to end. Feel free to jump to the chapter or chapters that best suits your purpose as you are learning Go with this book.

Table of contents

  • How To Install Go and Set Up a Local Programming Environment on Ubuntu 18.04
  • How To Install Go and Set Up a Local Programming Environment on macOS
  • How To Install Go and Set Up a Local Programming Environment on Windows 10
  • How To Write Your First Program in Go
  • Understanding the GOPATH
  • How To Write Comments in Go
  • Understanding Data Types in Go
  • An Introduction to Working with Strings in Go
  • How To Format Strings in Go
  • An Introduction to the Strings Package in Go
  • How To Use Variables and Constants in Go
  • How To Convert Data Types in Go
  • How To Do Math in Go with Operators
  • Understanding Boolean Logic in Go
  • Understanding Maps in Go
  • Understanding Arrays and Slices in Go
  • Handling Errors in Go
  • Creating Custom Errors in Go
  • Handling Panics in Go
  • Importing Packages in Go
  • How To Write Packages in Go
  • Understanding Package Visibility in Go
  • How To Write Conditional Statements in Go
  • How To Write Switch Statements in Go
  • How To Construct For Loops in Go
  • Using Break and Continue Statements When Working with Loops in Go
  • How To Define and Call Functions in Go
  • How To Use Variadic Functions in Go
  • Understanding defer in Go
  • Understanding init in Go
  • Customizing Go Binaries with Build Tags
  • Understanding Pointers in Go
  • Defining Structs in Go
  • Defining Methods in Go
  • How To Build and Install Go Programs
  • How To Use Struct Tags in Go
  • How To Use Interfaces in Go
  • Building Go Applications for Different Operating Systems and Architectures
  • Using ldflags to Set Version Information for Go Applications
  • How To Use the Flag Package in Go
Pages : 447
Size : 3.1 MB
File type : PDF
Downloads: 64
Created: 2022-02-02
License: CC BY-NC-SA
Author(s): Mark Bates, Cory LaNou, Tim Raymond
How To Code in Go

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Computer science Tutorials

HackSpace Magazine: Issue 46

Cyber-Physical Systems of Systems

Intel Trusted Execution Technology for Server Platforms

Seeing Theory

Google Maps API Succinctly

Others related eBooks about How To Code in Go

Latex tutorial for professionals

Download free Latex tutorial course in PDF, training file in 17 chapters and 60 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Modern Robotics with OpenCV

How to use a Robot with Computer Vision in order to perform complex tasks, interacting with the surrounding environment, using a distributed system with several software communicating each others and exchanging data across the network....

Microsoft Platform and Tools for Mobile App Development

Download free course Microsoft Platform and Tools for Mobile App Development, pdf file on 154 pages by Cesar de la Torre, Simon Calvert....

Git Internals

Download free course Git Internals, pdf file on 121 pages by Scott Chacon....

How To Think Like A Computer Scientist: C Version

The book is intended as a very first introduction into computer science and programming. As such, its content is well-balanced in comprehensiveness and conciseness. A programming book should not distract with verbose text and this book strikes a good middle ground between the mutually contradicting ...

GTK+/Gnome Application Development

Part of the open-source initiative, the GNU Network Object Model Environment, or Gnome, provides a powerful development framework for building applications in Linux/Unix using C. When combined with GTK+, a user interface library that simplifies graphics programming, you have a nearly unbeatable comb...

Bash Notes for Professionals

Download free course Bash Notes for Professionals, pdf file on 204 pages by by Stack Overflow Community....

Managing Projects with GNU Make

Download free course Managing Projects with GNU Make, pdf file on 272 pages by Robert Mecklenburg....

Assembler Computing system

This tutorial contain a basics informations about assembler and elements of computing systems ,a free training document under 22 pages for download....

Exploring the Data Jungle

Some people like to believe that all data is ready to be used immediately. Not so! Data in..., download free Data Jungle tutorial in PDF (101 pages) created by ....