Skip to content

Tool to automatically generates API middlewares (logging, instrumentation, etc) and documentation.

Notifications You must be signed in to change notification settings

guibirow/apigen

 
 

Repository files navigation

apigen

This repository contains a sample project how to utilize go:generate in order to overcome the burden of writing boilerplate code. It contains a REST API and a couple of middlewares. The tool utilizing go:generate automatically creates code for the following functionality:

  • Logging
  • Instrumentation
  • Activity Recording
  • API Documentation

This code was partially shown in the talk go generate: One File To Rule Them All.

Slides

About

Tool to automatically generates API middlewares (logging, instrumentation, etc) and documentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 87.9%
  • CSS 12.1%