golang
No long description provided.
Installation
dagger install github.com/camptocamp/daggerverse/golang@03a003c917ed256dfcdee86fa593649b3e0c701b
Entrypoint
Return Type
Golang !
Example
dagger -m github.com/camptocamp/daggerverse/golang@03a003c917ed256dfcdee86fa593649b3e0c701b call \
func (m *myModule) example() *Golang {
return dag.
Golang()
}
@function
def example() -> dag.Golang:
return (
dag.golang()
)
@func()
example(): Golang {
return dag
.golang()
}
Types
Golang 🔗
configuration() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
dagger -m github.com/camptocamp/daggerverse/golang@03a003c917ed256dfcdee86fa593649b3e0c701b call \
configuration --container IMAGE:TAG
func (m *myModule) example(container *Container) *Container {
return dag.
Golang().
Configuration(container)
}
@function
def example(container: dagger.Container) -> dagger.Container:
return (
dag.golang()
.configuration(container)
)
@func()
example(container: Container): Container {
return dag
.golang()
.configuration(container)
}
container() 🔗
Return Type
Container !
Example
dagger -m github.com/camptocamp/daggerverse/golang@03a003c917ed256dfcdee86fa593649b3e0c701b call \
container
func (m *myModule) example() *Container {
return dag.
Golang().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.golang()
.container()
)
@func()
example(): Container {
return dag
.golang()
.container()
}