toolsgolang.org/x/tools/go/analysis/passes/timeformat Index | Files

package timeformat

import "golang.org/x/tools/go/analysis/passes/timeformat"

Package timeformat defines an Analyzer that checks for the use of time.Format or time.Parse calls with a bad format.

Index

Constants

const Doc = "" /* 306 byte string literal not displayed */

Variables

var Analyzer = &analysis.Analyzer{
	Name:     "timeformat",
	Doc:      Doc,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}

Source Files

timeformat.go

Version
v0.3.0
Published
Nov 9, 2022
Platform
js/wasm
Imports
9 packages
Last checked
5 hours ago

Tools for package owners.