Easiest way to make a documentation?

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
  • GoSwagger

    Swagger 2.0 implementation for go

  • This is the fastest way; it isn't necessarily the best for an API, because godoc is designed to document Go code, not HTTP APIs. You can use something like go-swagger to try to generate swagger/OpenAPI documentation. However, I find it a useful package, but a frustrating one to use. It likes to silently fail and just stop generating documentation and imposes a couple of restrictions the underlying spec doesn't. I find I have to make one change at a time and run their generator after each one, because at any moment, I may make a small typo, or confuse it some other way, and lose entire chunks of my documentation silently. But when it is working, it is an option for documenting APIs.

  • 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
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