tox is a simple library for rapid (and potentially lossy) type conversions. It is very helpful when trying to do quick conversions of interfaces when confidence in the quality of the value is high.
Checkout the repository and run:
go get github.com/tartabit/tox
import "github.com/tartabit/tox"
var myint = 5
var mystring = tox.ToString(myint)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.