{"repo":"jmattheis/goverter","free":true,"listed":false,"github":"https://github.com/jmattheis/goverter","clone":"git clone https://github.com/jmattheis/goverter.git","description":"Generate type-safe Go converters by defining function signatures.","language":"Go","stars":869,"topics":["golang","go","converter","struct","generator","code-generation","copy"],"license":"MIT","category":"dev-tools","readme_excerpt":"goverter a \"type-safe Go converter\" generator goverter is a tool for creating type-safe converters. All you have to do is create an interface and execute goverter. The project is meant as alternative to jinzhu/copier that doesn't use reflection. Getting Started ᛫ Installation ᛫ CLI ᛫ Config Features - Fast execution : No reflection is used at runtime - Automatically converts builtin types: slices, maps, named types, primitive types, pointers, structs with same fields - Enum support - Deep copies per default and supports shallow copying - Customizable : You can implement custom converter methods - Clear errors when generating the conversion methods if - the target struct has unmapped fields - types cannot be converted without losing information - Detailed documentation with a lot examples - Thoroughly tested, see our test scenarios Example Given this converter: Goverter will generated these conversion methods: See Getting Started. Versioning goverter uses SemVer for versioning the cli. License This project is licensed under the MIT License - see the LICENSE file for details Logo by MariaLetta","default_branch":null,"files":null,"tree":[],"storefront":"/r/jmattheis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jmattheis/goverter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}