tools

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Golangcilint

type Golangcilint mg.Namespace

func (Golangcilint) Install

func (g Golangcilint) Install() error

Install golangci-lint to $TOOL_CACHE/bin/golangci-lint-<$GOLANGCILINT_VER>, defaults: GOLANGCILINT_VER=1.19.0.

func (Golangcilint) Rm

func (Golangcilint) Rm() error

Remove all cached versions of golangci-lint

func (Golangcilint) Run

func (g Golangcilint) Run() error

Run golangci-lint, defaults: GOLANGCILINT_VER=1.19.0. GOLANGCILINT_RUN_OPTS="--fix ./..."

Jump to

Keyboard shortcuts

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