scriptonist's blog

scriptonist's blog

Something about Go strings that you should know

Jun 10, 2019

What will be the output of the following code snippet? package main import ( "fmt" ) func main() { var s = "abcdรจ" fmt.Println(len(s)) } The string s has 5 characters and therefore the output should be 5 right? or Is it ๐Ÿค” If we try ru...

Something about Go strings that you should know
Getting started with Kubernetes