go
No long description provided.
Installation
dagger install github.com/vrunoa/daggerverse/go@v0.0.1
Entrypoint
Return Type
Go
Example
dagger -m github.com/vrunoa/daggerverse/go@ce47fbd64fa8142620f75fd4be0f1a621accfdd9 call \
func (m *myModule) example() *Go {
return dag.
Go()
}
@function
def example() -> dag.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_PATH
func (m *myModule) example(src *Directory) *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)
}