root-mod
No long description provided.
Installation
dagger install github.com/dagger/dagger-test-modules.git@2cb6cb4b0dba52c1e65b3ff46dd1a4a8f9a02f94
Entrypoint
Return Type
RootMod
Example
dagger -m github.com/dagger/dagger-test-modules.git@2cb6cb4b0dba52c1e65b3ff46dd1a4a8f9a02f94 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.git@2cb6cb4b0dba52c1e65b3ff46dd1a4a8f9a02f94 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()
}