hello
No long description provided.
Installation
dagger install github.com/ibuildthecloud/daggerverse/hello@214762c0b6c5b6510cfa70e35be22118840d254c
Entrypoint
Return Type
Hello
Example
func (m *myModule) example() *Hello {
return dag.
Hello()
}
@function
def example() -> dag.Hello:
return (
dag.hello()
)
@func()
example(): Hello {
return dag
.hello()
}
Types
Hello
greeting()
Return Type
StringKind !
Example
Function Hello.greeting is not accessible from the hello module
func (m *myModule) example() {
return dag.
Hello().
Greeting()
}
@function
def example() -> :
return (
dag.hello()
.greeting()
)
@func()
example(): {
return dag
.hello()
.greeting()
}
name()
Return Type
StringKind !
Example
Function Hello.name is not accessible from the hello module
func (m *myModule) example() {
return dag.
Hello().
Name()
}
@function
def example() -> :
return (
dag.hello()
.name()
)
@func()
example(): {
return dag
.hello()
.name()
}
withGreeting()
Set greeting field
Return Type
Hello !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
greeting | StringKind ! | - | No description provided |
Example
Function Hello.withGreeting is not accessible from the hello module
func (m *myModule) example(greeting ) {
return dag.
Hello().
WithGreeting(greeting)
}
@function
def example(greeting: ) -> :
return (
dag.hello()
.with_greeting(greeting)
)
@func()
example(greeting: ): {
return dag
.hello()
.withGreeting(greeting)
}
withName()
Set name field
Return Type
Hello !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | StringKind ! | - | No description provided |
Example
Function Hello.withName is not accessible from the hello module
func (m *myModule) example(name ) {
return dag.
Hello().
WithName(name)
}
@function
def example(name: ) -> :
return (
dag.hello()
.with_name(name)
)
@func()
example(name: ): {
return dag
.hello()
.withName(name)
}
message()
Say hi
Return Type
StringKind !
Example
Function Hello.message is not accessible from the hello module
func (m *myModule) example() {
return dag.
Hello().
Message()
}
@function
def example() -> :
return (
dag.hello()
.message()
)
@func()
example(): {
return dag
.hello()
.message()
}
shout()
Say hi, but loudly
Return Type
StringKind !
Example
Function Hello.shout is not accessible from the hello module
func (m *myModule) example() {
return dag.
Hello().
Shout()
}
@function
def example() -> :
return (
dag.hello()
.shout()
)
@func()
example(): {
return dag
.hello()
.shout()
}