77</p >
88
99<h1 align =" center " >Convgen</h1 >
10- <p align =" center " ><i >Refactorable conversion code generator for Go</i ></p >
10+ <p align =" center " ><i >Refactor-safe type conversion codegen for Go</i ></p >
1111
1212<p align =" center " >
1313<a href =" https://github.com/sublee/convgen/actions/workflows/ci.yaml " ><img src =" https://github.com/sublee/convgen/actions/workflows/ci.yaml/badge.svg " alt =" CI " ></a >
@@ -38,7 +38,7 @@ func EncodeUser(in User) (out api.User) {
3838
3939## Features
4040
41- - ** Code generation for automatic type conversions**
41+ - ** Automatic type conversions by codegen **
4242 Convgen generates conversion code at compile time, so there's no runtime
4343 reflection overhead. It supports conversions between structs, unions
4444 (interfaces with multiple implementations), and enums (const groups),
@@ -53,7 +53,7 @@ func EncodeUser(in User) (out api.User) {
5353 convgen.EnumErr [Status, api.Status ] // func(Status) (api.Status, error)
5454 ```
5555
56- - ** Type -safe configuration that survives refactoring **
56+ - ** Refactor -safe configuration**
5757 All options are validated at compile time — no struct tags, strings, or
5858 comment-based directives.
5959
@@ -66,7 +66,7 @@ func EncodeUser(in User) (out api.User) {
6666 convgen.Match (User{}.Name , api.User {}.Username )
6767 ```
6868
69- - ** Batched diagnostics instead of one-error-at-a-time **
69+ - ** Batched diagnostics**
7070 * All* matching and conversion errors in a single pass are reported together,
7171 so you can fix everything at once instead of stopping at the first error. In
7272 addition, Convgen provides [ Lint] ( #lint ) support for real-time feedback during
@@ -91,9 +91,8 @@ refactoring becomes difficult when target types change. In contrast, Wire offers
9191type-safe configuration and detailed diagnostics, but focuses on dependency
9292injection.
9393
94- Convgen combines the best of both worlds, bringing ** type-safe configuration**
95- and ** comprehensive diagnostics** to
96- ** type conversion code generation** .
94+ Convgen combines the best of both worlds, bringing ** refactor-safe configuration**
95+ and ** batched diagnostics** to ** automatic type conversions by codegen** .
9796
9897To compare Convgen and goverter, see [ cmd/vs-goverter] ( cmd/vs-goverter )
9998directory.
0 commit comments