25% off

Use code FUNCMAIN at checkout for 25% off all premium courses.

Get started →
Golang Image

Golang

Supercharge Your Go Tests Using Fake HTTP Services

Supercharge Your Go Tests Using Fake HTTP Services

Learn how to write reliable tests in Go by using fake HTTP services. This tutorial covers examples with httptest and the …

testing http
Go JSON Tutorial

Go JSON Tutorial

In this tutorial, we are going to cover everything you need when it comes to working with JSON in Go.

beginner json
Go 1.23 Iterators Tutorial

Go 1.23 Iterators Tutorial

In this tutorial, we'll be exploring the new range-over-func syntax introduced in Go 1.23 and how to use iterators in …

intermediate
Functional Options Parameter Pattern in Go

Functional Options Parameter Pattern in Go

In this tutorial, we'll be discussing one of my favorite patterns and how you can use it to supercharge your Go app dev.

intermediate
Joining Errors With errors.Join in Go

Joining Errors With errors.Join in Go

In this tutorial, we'll be looking at how we can join errors together in Go using the errors.Join method!

intermediate
Getting Started With Testmain in Go

Getting Started With Testmain in Go

In this tutorial, we'll be covering how you can simplify and improve your tests in Go using the TestMain function.

intermediate
Beginner's Guide to Logging in Tests in Golang

Beginner's Guide to Logging in Tests in Golang

In this tutorial, we're going to be looking at how we can improve our test output readability using the inbuilt helper …

testing
Using T.Cleanup for Test Teardown in Go

Using T.Cleanup for Test Teardown in Go

In this tutorial, we are going to look at how you can use t.Cleanup() to properly manage test teardown and resource …

testing intermediate
Writing Clean Functions in Go with the Full Mapping Strategy

Writing Clean Functions in Go with the Full Mapping Strategy

In this tutorial, we're going to be discussing how you can build clean functions in Go.

Advanced design-patterns
Handling Panics in Go

Handling Panics in Go

In this code snippet, we are going to be looking at how we can handle panics within our Go applications.

snippets
<< Previous Page Next Page >>
Showing Page 9 of 15