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

This branch is 2 commits ahead of, 3 commits behind konradreiche/apigen:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

628f4f1 · May 5, 2021

History

14 Commits
May 5, 2021
May 5, 2021
May 5, 2021
May 5, 2021
Apr 14, 2019
May 5, 2021
Apr 10, 2019
Apr 10, 2019
Apr 14, 2019
May 5, 2021
May 5, 2021
May 5, 2021
Mar 13, 2019
May 5, 2021
Apr 10, 2019
Apr 10, 2019
May 5, 2021
May 5, 2021
May 5, 2021

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%