Skip to content
/ to Public

Simple and consistent casting from one type to another in Go

License

Notifications You must be signed in to change notification settings

rsb/to

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To

Casting from one type to another in golang.

The primary reason for this package is the need to cast string values into other types. This dynamic casting is required by my conf package as well as pflags and fuelcell which often take string values from environment variables or cli and need to convert them to go types usually to be assigned to some configuration struct.

About

Simple and consistent casting from one type to another in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages