gogen

package module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2019 License: MIT Imports: 0 Imported by: 0

README

Gogen

Publish releases

For a release the tool goreleaser is used. You can get it here. Download your needed binary file and extract to your $GOPATH/bin. $GOPATH/bin should be on your path environment variables.

Also export your VCS token like: GITHUB_TOKEN, GITLAB_TOKEN and GITEA_TOKEN

goreleaser builds from the latest tag which you made and it requires a clean working copy. Then goreleaser places the build output into a folder dist

Documentation

Overview

Package gogen provides a set of code generation packages and command line tools to reduce boilerplate in your go projects

Directories

Path Synopsis
Package cleanimports provides functionality to clean unused imports from the given source code
Package cleanimports provides functionality to clean unused imports from the given source code
cmd
Package exportdefault provides the functionality to automatically generate package-level exported functions wrapping calls to a package-level default instance of a type.
Package exportdefault provides the functionality to automatically generate package-level exported functions wrapping calls to a package-level default instance of a type.
Package specific copies the source from a package and generates a second package replacing some of the types used.
Package specific copies the source from a package and generates a second package replacing some of the types used.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL