Articles with the tag "strings"

Concatenating and Building Strings in Go 1.10+

Go 1.10 introduced the new strings.Builder type, which can be used to efficiently and easily build or concatenate strings. In this post we explore some of the ways to use the type as well as why it implementing the io.Writer interface makes it an incredibly powerful tool.

Creating Random Strings in Go

A tutorial explaining how to create a custom rand package with functions for creating random strings of varying length with custom of preset character sets.

Let's Learn Algorithms: Binary Searching for Case Insensitive Strings

Learn to implement a binary search where you can find strings regardless of their case when searching in a previously sorted list of strings.

6 Tips for Using Strings in Go

Learn how to perform common operations with strings in Go. This article discusses how to write multiline strings, concatenate strings efficiently, convert various data types into strings, checking for prefixes, and converting strings to byte slices.

Why is this string a byte array and other info about strings in Go

Ever wonder why a string is a byte slice in Go, or how to properly splice a string? In this article we discuss some common things that confuse beginners about strings, as well as how to work with them a little more efficiently.

Avatar of Jon Calhoun
Articles and Tutorials by
Jon Calhoun

Jon Calhoun is a full stack web developer who also teaches about Go, web development, algorithms, and anything programming related. He also consults for other companies who have development needs. (If you need some development work done, get in touch!)

Jon is a co-founder of EasyPost, a shipping API that many fortune 500 companies use to power their shipping infrastructure, and prior to founding EasyPost he worked at google as a software engineer.

Jon's latest progress update: Writing Course Notes

Recent Articles All Articles Mini-Series Progress Updates Tags About Me Go Courses

©2018 Jonathan Calhoun. All rights reserved.