This will be a series of tutorials about Go language. The first post is a bit boring and talks about the current Go ecosystem and the language’s overview. As well as its advantages and disadvantages.

I’d been working with Node.js for many years and then with Go within my latest projects. I’ve been programming since 1992. I want to share what I learned about Go with you.

I’ll go into the details of each piece of information here in this post afterward, in the next posts. This post is here for giving you a quick overview of Go without going into the language-specific details and tutorials.

Open Source Language

Go is an open source programming language from Google. Made its first stable release, 2011.

What does it mean that Go is an open source programming language?
Well, it’s created…

Master and Understand Go Language Deeply and Build Go Programs from Scratch. 10+ Projects, 1000+ Exercises, and more.

What does the course include?

Gotchas and tricks about defer.

This article is more about tricks rather than gotchas of defer.

Read the following posts from this series to discover more gotchas and tricks about defer:

If you don’t know how defer works please read this starter post first:

Protect yourself from basic defer gotchas.

🐼 This article is only for beginner to intermediate level Gophers, masters: “close the tab please”.

#1 — Deferred nil func

If a deferred func evaluates to nil, execution panics when the surrounding func ends not when defer is called.

Learn about Golang’s defer statement with various usage examples.

What is defer?

It takes a func and executes it just before* the surrounding func returns whether there is a panic or not.

Do you want to know the man behind the curtains?

Alright, that’s all for now. Thank you for reading so far.

Let’s stay in touch:

An overview of anonymous, higher-order, closures, concurrent, deferred, and other kinds of Golang funcs.

This post is a summary for the different kind of funcs in Go. I’ll go into more detail in the upcoming posts because they deserve more. This is just a start.

Learn everything about Golang variadic funcs with common usage patterns.

What is a variadic func?

A variadic func accepts variable number of input values — zero or more. Ellipsis (three-dots) prefix in front of an input type makes a func variadic.

Easily understand Go funcs with visuals.

Note: This guide is only about introducing Go functions, not about: variadic, defer, and external funcs; or methods, http, and marshaling, etc.

What is a function?

A function is a separate and reusable block of code which can be run again and again. Functions may accept input values and they may return output values.

Inanc Gumus

Coder. Gopher. Maker. Stoic. Since 1992.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store