Dagger
Search

golangci-lint

No long description provided.

Installation

dagger install github.com/cirocosta/daggerverse/golangci-lint@664890d3ed7f72cae8f229901400366a77e6f800

Entrypoint

Return Type
GolangciLint
Example
dagger -m github.com/cirocosta/daggerverse/golangci-lint@664890d3ed7f72cae8f229901400366a77e6f800 call \
func (m *myModule) example() *GolangciLint  {
	return dag.
			GolangciLint()
}
@function
def example() -> dag.GolangciLint:
	return (
		dag.golangci_lint()
	)
@func()
example(): GolangciLint {
	return dag
		.golangciLint()
}

Types

GolangciLint 🔗

containerWithSource() 🔗

example usage: “dagger shell container-with-source –src .”

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
dagger -m github.com/cirocosta/daggerverse/golangci-lint@664890d3ed7f72cae8f229901400366a77e6f800 call \
 container-with-source
func (m *myModule) example(src )   {
	return dag.
			GolangciLint().
			ContainerWithSource(src)
}
@function
def example(src: ) -> :
	return (
		dag.golangci_lint()
		.container_with_source(src)
	)
@func()
example(src: ):  {
	return dag
		.golangciLint()
		.containerWithSource(src)
}

lint() 🔗

example usage: “dagger call lint –dir .”

Return Type
StringKind !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-No description provided
Example
dagger -m github.com/cirocosta/daggerverse/golangci-lint@664890d3ed7f72cae8f229901400366a77e6f800 call \
 lint
func (m *myModule) example(dir )   {
	return dag.
			GolangciLint().
			Lint(dir)
}
@function
def example(dir: ) -> :
	return (
		dag.golangci_lint()
		.lint(dir)
	)
@func()
example(dir: ):  {
	return dag
		.golangciLint()
		.lint(dir)
}