sdkusage

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "sdkusage",
	Requires: []*analysis.Analyzer{sourcecode.Analyzer, nestedmetadata.Analyzer},
	Run:      run,
	Rules: []*analysis.Rule{
		goSdkNotUsed,
		goModNotFound,
		goModError,
		goSdkOlderThanTwoMonths,
		goSdkOlderThanFiveMonths,
	},
	ReadmeInfo: analysis.ReadmeInfo{
		Name:        "SDK Usage",
		Description: "Ensures that `grafana-plugin-sdk-go` is up-to-date.",
	},
}
View Source
var GetNowInRFC3339 = func() string {
	return time.Now().UTC().Format(time.RFC3339)
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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