Dagger
Search

golint

No long description provided.

Installation

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

Entrypoint

Return Type
Golint
Example
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
pathStringKind -No description provided
Example
Function Golint.lint is not accessible from the golint module
func (m *myModule) example(src )   {
	return dag.
			Golint().
			Lint(src)
}
@function
def example(src: ) -> :
	return (
		dag.golint()
		.lint(src)
	)
@func()
example(src: ):  {
	return dag
		.golint()
		.lint(src)
}