golangci-lint
No long description provided.
Installation
dagger install github.com/quartz-technology/daggerverse/golangci-lint@9ce087b83aa8b85f828d7d92ce39bd7c055cfc0fEntrypoint
Return Type
GolangciLint Example
dagger -m github.com/quartz-technology/daggerverse/golangci-lint@9ce087b83aa8b85f828d7d92ce39bd7c055cfc0f call \
func (m *MyModule) Example() *dagger.GolangciLint {
return dag.
GolangciLint()
}@function
def example() -> dagger.GolangciLint:
return (
dag.golangci_lint()
)@func()
example(): GolangciLint {
return dag
.golangciLint()
}Types
GolangciLint 🔗
withVersion() 🔗
WithVersion returns a Container configured to use golangci-lint.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | StringKind ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/golangci-lint@9ce087b83aa8b85f828d7d92ce39bd7c055cfc0f call \
with-versionfunc (m *MyModule) Example(version ) {
return dag.
GolangciLint().
WithVersion(version)
}@function
def example(version: ) -> :
return (
dag.golangci_lint()
.with_version(version)
)@func()
example(version: ): {
return dag
.golangciLint()
.withVersion(version)
}