golangci-lint
No long description provided.
Installation
dagger install github.com/quartz-technology/daggerverse/golangci-lint@9ce087b83aa8b85f828d7d92ce39bd7c055cfc0f
Entrypoint
Return Type
GolangciLint
Example
dagger -m github.com/quartz-technology/daggerverse/golangci-lint@9ce087b83aa8b85f828d7d92ce39bd7c055cfc0f 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 🔗
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-version
func (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)
}