Category Archives for "Go"

Go Strings Package Part 1

In this blog post, you will learn how to use the ToLower, ToUpper,  and Title functions to change the alphabet case of a string. These functions are part of the Go strings package. ToLower You use the ToLower function when you to change the string to lower case. This could be useful for cleaning update […]

Continue reading

Replacing Parts of a String in Go Part Two

In this blog post, I will show you how you can replace parts of a string with new content. To complete this task, we will use the strings package from the Go Standard Library. You can find part one here. When you have more than one string value to replace you should use the NewReplacer […]

Continue reading

Replacing Parts of a String in Go Part One

In this blog post, I will show you how you can replace parts of a string with new content. To complete this task, we will use the strings package from the Go Standard Library. Replace Function The Replace function is used for when you need simple replace and the function takes in four parameters: s: This […]

Continue reading

Learn How To Reverse A Linked List Using Go

This blog post is a part of a series on programming interview questions. In the post, you will learn how to reverse a linked list. You can find more interview questions blog post here. Question A common question that comes up in coding interviews is to reverse a linked list. In this post, I will […]

Continue reading

Working with For Loop in Go

Unlike other languages, Go has one looping construct — the for loop. However, the for loop can handle all of your looping needs. I will show you examples of how to use the for loop to count from 1 to 10 and how to loop over an array/slice in different ways. Count From 1 to […]

Continue reading