Skip to main content

golang

2023


Strings literal vs string interpreted

·1 min
A string literal is a string, without any formatting or anything to it, its literal as it says, so we use the back ticks for string literals, by that nothing we can type within the string to that would be printing differently than what we put between the back ticks

3 different ways to split strings in Go

·2 mins
When working with strings and text, many times we decide to cut the strings to wrods but then what a word is, and also what is going to be considered a seperator.

2022