go
No long description provided.
Installation
dagger install github.com/vrunoa/daggerverse/go@v0.0.1Entrypoint
Return Type
Go Example
dagger -m github.com/vrunoa/daggerverse/go@ce47fbd64fa8142620f75fd4be0f1a621accfdd9 call \
func (m *MyModule) Example() *dagger.Go {
return dag.
Go()
}@function
def example() -> dagger.Go:
return (
dag.go()
)@func()
example(): Go {
return dag
.go()
}Types
Go 🔗
lint() 🔗
Lint - Lint the Go source code with golangci-lint
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
Example
dagger -m github.com/vrunoa/daggerverse/go@ce47fbd64fa8142620f75fd4be0f1a621accfdd9 call \
lint --src DIR_PATHfunc (m *MyModule) Example(src *dagger.Directory) *dagger.Container {
return dag.
Go().
Lint(src)
}@function
def example(src: dagger.Directory) -> dagger.Container:
return (
dag.go()
.lint(src)
)@func()
example(src: Directory): Container {
return dag
.go()
.lint(src)
}