Leanpub Header

Skip to main content

Programming in Golang

Learning golang Programming with hands-on experience

Go through a series of exercises that will let you master all the features of GO

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
109
Readers
173
Pages
About

About

About the Book

The idea behind the book is to present a series of exercises with code examples so you can understand the main functionalities of GO, then you can go ahead tweaking the lines of code and running them on your system. In this way you will be learning by doing.

The Book presents Code, Explanations and Output for each feature. It's recommended to know the basics of programming or another programming language like Python or Javascript to take full advantage of this book.

Check out other books from the author:

Javascript Snippets

Learning Python Programming from Scratch

Up to Speed with Javascript in 59 minutes

Appwrite Up and Running

Front End Developer Interview Questions

ReactJS Documentation

Backend Developer Interview Questions

VueJS Documentation

React Redux Documentation

DevOPs

Data Science Workflow for Beginners

What is Golang used for ?

This pdf book is a good introduction to programming in go, golang is a system level language alternative to C or C++, it was developed by Google for their servers and networkds and is mainly used by developers to programm large sacalable applications.

Is Golang better than Python ?

Golang is becoming a better alternative than Python for certain applications, specially for web app development since it has shown to be faster, on the other hand if you are looking for a language with flexibility and many libraries then Python would be better in that regard.

Is Golang worth learning in 2021 ?

Go has a simple and easy to read syntax which make developers feel and be more productive, the demand for Golang developers has increased in the last year and companies are starting to migrate the code base for some large scale projects into GO.

According to the Go Developer Survey 2021, an overwhelming 81% of the respondents felt either very or extremely productive in Go. Even if you are just a beginner in computer science, Go is a good language to begin building up your programming knowledge.

Is Go lang programming easy to learn ?

Go's syntax is small compared to other languages, and it's easy to learn. You can fit most of it in your head, which means you don't need to spend a lot of time looking things up. It's also very clean and easy-to-read.

Is Go Programming easier than Python ?

Golang is a simple, easy to understand programming language with simple syntax. Though Python also has a simple syntax, Golang is simpler to learn and work with. Golang is based on C language so you can trust its clarity. Golang came into existence to solve practical problems at Google, and thus it is more pragmatic.

Why is the Go compiler so fast?

Many reasons why Go compiles quickly: Fast compile times are an explicit design goal of Go. The grammar is compact and regular so it is simpler to parse. Each Go file declares its dependencies and it is an error to declare a dependency that is not used, so computing the dependency tree is efficient.

Go programming language benefits:

  • Minimalist and Easy to Learn
  • Large Community = Extensive Tools
  • Fast
  • Transparent
  • Scalable
  • Built In Testing

Can beginners learn Golang?

Go is an easy language for beginners to learn.

Go is a great programming language for beginners because the syntax is small – you won't have to spend ages paging through reference documentation. It's clean and easy to read, meaning you'll be able to understand what you and others are writing.

Is Golang good for beginners?

Of the compiled languages out there, Go is definitely one of the most friendly and easy-to-learn language you will find, kind of like "the python of the compiled languages".

Is Golang better than node?

When compared to Node JS, Golang is a better option for raw performance and computation. It is a fast, lightweight platform as it is based on characteristics of C and C++. On the other hand, statically-typed Node JS is a derivative of JavaScript and hence, it is generally slower than other programming languages.

How long will it take to learn Golang?

If you do not know C or Java, it will take you one to three months to learn to use Golang professionally. You will want to continue practicing your skills for several more months if you want to become a Golang developer.

Price

Pick Your Price...

Minimum price

$7.99

$9.99

You pay

$9.99

Author earns

$7.99
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 1)

1
The author will earn $12.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

A.J. García

I started my coding career back in 2003. Lately I've been involved a lot in Javascript for frontend and the backend.

I would love passing along to you some of the experiences and challenges I've faced over the years.

Contents

Table of Contents

Other Books by Alejandro

  1. Recommended Resources

Introduction

  1. Who is this book for ?
  2. What this book covers ?

Hello World

Values

Variables

Constants

For

If/Else

Switch

Arrays

Slices

Maps

Range

Functions

Multiple Return Values

Variadic Functions

Closures

Recursion

Pointers

Structs

Methods

Interfaces

Errors

Goroutines

Channels

Channel Buffering

Channel Synchronization

Channel Directions

Select

Timeouts

Non-Blocking Channel Operations

Closing Channels

Range over Channels

Timers

Tickers

Worker Pools

WaitGroups

Rate Limiting

Atomic Counters

Mutexes

Stateful Goroutines

Sorting

Sorting by Functions

Panic

Defer

Collection Functions

String Functions

String Formatting

Regular Expressions

JSON

XML

Time

Epoch

Time Formatting / Parsing

Random Numbers

Number Parsing

URL Parsing

SHA1 Hashes

Base64 Encoding

Reading Files

Writing Files

Line Filters

File Paths

Directories

Temporary Files and Directories

Testing

Command-Line Arguments

Command-Line Flags

Command-Line Subcommands

Environment Variables

HTTP Clients

HTTP Servers

Context

Spawning Processes

Exec’ing Processes

Signals

Exit

Keep developing your GO skills

About the Author

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub