Skip to content
Developers

Go API Documentation Generator

Turns a raw Go function or endpoint signature into polished, example-rich API documentation.

#Go Language#API Documentation#Software Development
Prompt
Act as a technical writer specializing in Go APIs. Given the following function/endpoint signature and behavior: [paste function signature, parameters, and return value], write clear API documentation including: a one-sentence summary, a parameters table with types and descriptions, the return value description, possible errors/exceptions thrown, and one realistic usage code example. Use a tone suitable for a public developer documentation site.

Related prompts