lint

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 4 Imported by: 0

README

lint

import "github.com/eunomie/dague/kong/lint"

Index

type GovulnCmd

GovulnCmd runs govulncheck on Go source code.

type GovulnCmd struct{}
func (GovulnCmd) Run
func (GovulnCmd) Run() error

Run govulncheck in dagger

type Lint

Lint regroups a default set of linters to analyse source code.

type Lint struct {
    Govuln GovulnCmd `cmd:"" group:"lint" help:"checks vulnerabilities in Go code"`
}

Generated by gomarkdoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GovulnCmd

type GovulnCmd struct{}

GovulnCmd runs govulncheck on Go source code.

func (GovulnCmd) Run

func (GovulnCmd) Run() error

Run govulncheck in dagger

type Lint

type Lint struct {
	Govuln GovulnCmd `cmd:"" group:"lint" help:"checks vulnerabilities in Go code"`
}

Lint regroups a default set of linters to analyse source code.

Jump to

Keyboard shortcuts

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