What does the len() function return if passed a UTF-8 encoded string?
len()
the number of code points Length of string in Go (Golang).
the number of characters
the number of bytes
It does not accept string types.