In this bizarre example, someone has created a new type which is really just a string:
type CustomType string const ( Foobar CustomType = \"somestr
Convert the value to a string:
func SomeFunction() string { return string(Foobar) }