Please turn JavaScript on
header-image

Go Tutorial - Learn Go from the Basics with Code Examples on golangbot.com

Want to know the latest news and articles posted on Go Tutorial - Learn Go from the Basics with Code Examples on golangbot.com?

Then subscribe to their feed now! You can receive their updates by email, via mobile or on your personal news page on this website.

See what they recently published below.

Website title: Go Tutorial - Learn Go from the Basics with Code Examples | page 1

Is this your feed? Claim it!

Publisher:  Unclaimed!
Message frequency:  0.44 / week

Message History

My GopherCon UK 2025 talk Climbing the Testing Pyramid: From Real Service to Interface Mocks in Go can be watched on youtube. This is the first time I am speaking at GopherCon and also in front of a large audience of nearly 150 people. This talk explores the various strategies for unit testing Go applications that interact with cloud services like S3. Testing against real cloud ...

Read full story
Panic and Recover

Welcome to tutorial no. 33 in Golang tutorial series. What is Panic? The idiomatic way of handling abnormal conditions in a Go program is using errors. Errors are sufficient for most of the abnormal conditions arising in the program. But there are some situations where the program cannot continue execution after an abnormal condition. In this case, we use panic to prematurely te...

Read full story
Structs

Welcome to tutorial no. 16 in our Golang tutorial series. What is a struct? A struct is a user-defined type that represents a collection of fields. It can be used in places where it makes sense to group the data into a single unit rather than having each of them as separate variables. For instance, an employee has a firstName, lastName and age. It makes sense to group these thre...

Read full story
Strings

Welcome to tutorial no. 14 in Golang tutorial series. Strings deserve a special mention in Go as they are different in implementation when compared to other languages. What is a String? A string is a slice of bytes in Go. Strings can be created by enclosing a set of characters inside double quotes " ". Let’s look at a simple example that creates a string and prin...

Read full story
Variadic Functions
Read full story