dep2
No long description provided.
Installation
dagger install github.com/dagger/dagger-test-modules.git/subdir/dep2@2cb6cb4b0dba52c1e65b3ff46dd1a4a8f9a02f94
Entrypoint
Return Type
Dep2
Example
dagger -m github.com/dagger/dagger-test-modules.git/subdir/dep2@2cb6cb4b0dba52c1e65b3ff46dd1a4a8f9a02f94 call \
func (m *myModule) example() *Dep2 {
return dag.
Dep2()
}
@function
def example() -> dag.Dep2:
return (
dag.dep2()
)
@func()
example(): Dep2 {
return dag
.dep2()
}
Types
Dep2 🔗
fn() 🔗
Return Type
String !
Example
dagger -m github.com/dagger/dagger-test-modules.git/subdir/dep2@2cb6cb4b0dba52c1e65b3ff46dd1a4a8f9a02f94 call \
fn
func (m *myModule) example(ctx context.Context) string {
return dag.
Dep2().
Fn(ctx)
}
@function
async def example() -> str:
return await (
dag.dep2()
.fn()
)
@func()
async example(): Promise<string> {
return dag
.dep2()
.fn()
}