github.com/soranoba/henge/v2 (go): Package henge is a type conversion library for Golang.  変化 (Henge) means "Appearing with a different figure." in Japanese. Henge as the name implies can easily convert to different types.  Package henge has three conversion methods.  1. Methods having prefix with To. (e.g. ToInt). These are syntactic sugar. It often used when it can be converted reliably.  2. Starting from New and continue to other methods using method chain.  3. Using Convert method, it can convert to any type.
Keywords: golang|model|struct