I'm using a package and instead of returning a string
, it returns a economy.ClassId
You can see here
I want to pass the economy.ClassId
which is just a string of numbers like "531569319" to a function that takes a string not a economy.ClassId
so is there a way to convert this type to a string or no. Thanks.
I know you could like strconv.FormatUint()
but what would I use for a custom type.