Answers for "golang convert interface{} into string"

Go
5

interface to string golang

var x interface{} = "abc"
str := fmt.Sprintf("%v", x)
Posted by: Guest on August-08-2020

Code answers related to "golang convert interface{} into string"

Browse Popular Code Answers by Language