root-mod
No long description provided.
Installation
dagger install gitlab.com/dagger-modules/test/more/dagger-test-modules-public@323d56c9ece3492d13f58b8b603d31a7c511cd41
Entrypoint
Return Type
RootMod
Example
dagger -m gitlab.com/dagger-modules/test/more/dagger-test-modules-public@323d56c9ece3492d13f58b8b603d31a7c511cd41 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 gitlab.com/dagger-modules/test/more/dagger-test-modules-public@323d56c9ece3492d13f58b8b603d31a7c511cd41 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()
}