golangci-lint
No long description provided.
Installation
dagger install github.com/cirocosta/daggerverse/golangci-lint@664890d3ed7f72cae8f229901400366a77e6f800Entrypoint
Return Type
GolangciLint Example
dagger -m github.com/cirocosta/daggerverse/golangci-lint@664890d3ed7f72cae8f229901400366a77e6f800 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 🔗
containerWithSource() 🔗
example usage: “dagger shell container-with-source –src .”
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
Example
dagger -m github.com/cirocosta/daggerverse/golangci-lint@664890d3ed7f72cae8f229901400366a77e6f800 call \
container-with-sourcefunc (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
| Name | Type | Default Value | Description |
|---|---|---|---|
| dir | Directory ! | - | No description provided |
Example
dagger -m github.com/cirocosta/daggerverse/golangci-lint@664890d3ed7f72cae8f229901400366a77e6f800 call \
lintfunc (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)
}