Compilation of Go tools to Go type safe.
Tools are listed under main categories they are most close to.
Tool | Description | Replaced type-unsafe practices |
---|---|---|
Gohandlers | Generate code for strongly typed and reflectionless request-response binding, request validation, registering routes and Go clients. | Reflection-based struct field iteration for request/response bindings. |
Tool | Description | Replaced type-unsafe practices |
---|---|---|
Gonfique | The most customizable config type generator ever created. | Accessing config properties through hardcoded textual map keys. |
Tool | Description | Replaced type-unsafe practices |
---|---|---|
sqlc | Generate type-safe code from SQL. | Reflection-based database row scanning (sql.Rows.Scan with generic mappers). |
Tool | Description | Replaced type-unsafe practices |
---|---|---|
stringer | Tool to generate String methods for Go enums. | fmt -based runtime string conversions via reflection. |
See review list for tools queued for review.
Open a PR to the list for qualifying contributions.
Contribution criteria for new tools:
<!--
and -->
.