root-mod
No long description provided.
Installation
dagger install github.com/dagger/dagger-test-modules@8723e276a45b2e620ba3185cb07dc35e2be5bc86
Entrypoint
Return Type
RootMod
Example
dagger -m github.com/dagger/dagger-test-modules@8723e276a45b2e620ba3185cb07dc35e2be5bc86 call \
func (m *myModule) example() *RootMod {
return dag.
RootMod()
}
@function
def example() -> dag.RootMod:
return (
dag.root_mod()
)
@func()
example(): RootMod {
return dag
.rootMod()
}
Types
RootMod 🔗
fn() 🔗
Return Type
String !
Example
dagger -m github.com/dagger/dagger-test-modules@8723e276a45b2e620ba3185cb07dc35e2be5bc86 call \
fn
func (m *myModule) example(ctx context.Context) string {
return dag.
RootMod().
Fn(ctx)
}
@function
async def example() -> str:
return await (
dag.root_mod()
.fn()
)
@func()
async example(): Promise<string> {
return dag
.rootMod()
.fn()
}