Skip to content

Commit 6f5f53e

Browse files
authored
Revise intro messages
1 parent 7c180c0 commit 6f5f53e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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
9191
type-safe configuration and detailed diagnostics, but focuses on dependency
9292
injection.
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

9897
To compare Convgen and goverter, see [cmd/vs-goverter](cmd/vs-goverter)
9998
directory.

0 commit comments

Comments
 (0)