goreuse icon indicating copy to clipboard operation
goreuse copied to clipboard

Generic Code for Go

trafficstars

GoDoc Go Report Card

goreuse

A tool for reuse Go code, that bundles a whole package inside a single file. It allows to rename certain identifiers and keep the changed definitions. Also it supports go generate by adding the necessary comments.

installation

Go get this tool by:

$ go get -u -v gopkg.in/dc0d/goreuse.v2

Or from the master branch:

$ go get -u -v github.com/dc0d/goreuse

More information is provided inside the documentation.

video tutorial

goreuse V2 Video Tutorial

brief intro

asciicast