TypedGo avatar TypedGo avatar

The List

Compilation of Go tools to Go type safe.

Motiviation

Criteria

Tools

Tools are listed under main categories they are most close to.

APIs

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.

Configuration

Tool Description Replaced type-unsafe practices
Gonfique The most customizable config type generator ever created. Accessing config properties through hardcoded textual map keys.

Databases

Tool Description Replaced type-unsafe practices
sqlc Generate type-safe code from SQL. Reflection-based database row scanning (sql.Rows.Scan with generic mappers).

Enums

Tool Description Replaced type-unsafe practices
stringer Tool to generate String methods for Go enums. fmt-based runtime string conversions via reflection.

Review list

See review list for tools queued for review.

Contribute

Open a PR to the list for qualifying contributions.

Contribution criteria for new tools: