
Cast is a library to convert between different go types in a consistent and easy way.
cast provides simple functions to easily convert a number to a string, an interface into a bool, etc. cast does this intelligently when an obvious conversion is possible. it doesn??t make any attempts to guess what you meant; for example, you can only convert a string to an int when it is a string representation of an int such as ??8??.
cast was developed for use in hugo (http://gohugo.io/), a website engine which uses yaml, toml or json for meta data.