Dagger
Search

golint

No long description provided.

Installation

dagger install github.com/tsirysndr/daggerverse/golint@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0

Entrypoint

Return Type
Golint
Example
dagger -m github.com/tsirysndr/daggerverse/golint@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 call \
func (m *myModule) example() *Golint  {
	return dag.
			Golint()
}
@function
def example() -> dag.Golint:
	return (
		dag.golint()
	)
@func()
example(): Golint {
	return dag
		.golint()
}

Types

Golint 🔗

lint() 🔗

Lint Go code.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
pathString "."No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/golint@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 call \
 lint --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory  {
	return dag.
			Golint().
			Lint(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
	return (
		dag.golint()
		.lint(src)
	)
@func()
example(src: Directory): Directory {
	return dag
		.golint()
		.lint(src)
}