Is it possible to write a well-typed controller/handler in Go?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • gRPC

    The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

  • gRPC + gRPC-Gateway might be what you're looking for.

  • grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

  • gRPC + gRPC-Gateway might be what you're looking for.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • flamego

    A fantastic modular Go web framework with a slim core but limitless extensibility

  • Flamego and it's predecessor Macaron also allow a lot of flexibility in the handler definition.

  • Macaron

    Package macaron is a high productive and modular web framework in Go.

  • Flamego and it's predecessor Macaron also allow a lot of flexibility in the handler definition.

  • goa

    🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨

  • Have you looked at Goa? https://github.com/goadesign/goa

  • go-japi

    Japi is a fast & simple HTTP API library that automatically marshals JSON payloads and uses RFC7807 for problem details

  • go-japi and go-don are two small libraries that will do what you want.

  • restruct

    RESTruct is a rest router written in Go to automatically create routes based on your structs. (by altlimit)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts