zig
This module has been generated via dagger init and serves as a reference tobasic module structure as you get started with Dagger.
Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.
The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.
Installation
dagger install github.com/vrischmann/daggerverse/zig@b44b9d74bcfa6ff320428459a52433dddabba535
Entrypoint
Return Type
Zig
Example
dagger -m github.com/vrischmann/daggerverse/zig@b44b9d74bcfa6ff320428459a52433dddabba535 call \
func (m *myModule) example() *Zig {
return dag.
Zig()
}
@function
def example() -> dag.Zig:
return (
dag.zig()
)
@func()
example(): Zig {
return dag
.zig()
}
Types
Zig 🔗
A module to download the latest Zig master tarball
builder() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
platform | Scalar | "linux/amd64" | No description provided |
Example
dagger -m github.com/vrischmann/daggerverse/zig@b44b9d74bcfa6ff320428459a52433dddabba535 call \
builder
func (m *myModule) example() *Container {
return dag.
Zig().
Builder()
}
@function
def example() -> dagger.Container:
return (
dag.zig()
.builder()
)
@func()
example(): Container {
return dag
.zig()
.builder()
}