Posted on 26th July 2024|45 views
What are the ways to convert byte array to string in GoLang
Posted on 26th July 2024| views
When we convert a byte array to string, we will get the same bytes as a string.
Example:
c := []byte(‘EFGH”)
fmt.println(c)