linter

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 3 Imported by: 0

README

flextime-linter

flextime-linter restrict to use time package, and suggest code using Songmu/flextime.

Install

# MacOS 
curl -L https://github.com/wreulicke/flextime-linter/releases/download/v0.0.1/flextime-linter_0.0.1_darwin_amd64 -o /usr/local/bin/flextime-linter

# Linux
curl -L https://github.com/wreulicke/flextime-linter/releases/download/v0.0.1/flextime-linter_0.0.1_linux_amd64 -o /usr/local/bin/flextime-linter

# Windows
curl -L https://github.com/wreulicke/flextime-linter/releases/download/v0.0.1/flextime-linter_0.0.1_windows_amd64.exe -o <path-directory>/flextime-linter.exe

Usage

flextime-litner replace to flextime from time automatically. You can try below.

flextime-linter -fix ./...

Documentation

Index

Constants

View Source
const Doc = "flextimelinter is ..."

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "flextimelinter",
	Doc:      Doc,
	Run:      run,
	Requires: []*analysis.Analyzer{},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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