borgo
Borgo is a statically typed language that compiles to Go.
Installation
dagger install github.com/sagikazarmark/daggerverse/borgo@8a01bf05be5e833d34bfe8b2ae52dccea2a4ec0c
Entrypoint
Return Type
Borgo !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
commit | String | "dc4f72d04e7a4e0498b25d1ddea411d83509be7f" | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/borgo@8a01bf05be5e833d34bfe8b2ae52dccea2a4ec0c call \
func (m *myModule) example() *Borgo {
return dag.
Borgo()
}
@function
def example() -> dag.Borgo:
return (
dag.borgo()
)
@func()
example(): Borgo {
return dag
.borgo()
}
Types
Borgo 🔗
compile() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/borgo@8a01bf05be5e833d34bfe8b2ae52dccea2a4ec0c call \
compile --source DIR_PATH
func (m *myModule) example(source *Directory) *Directory {
return dag.
Borgo().
Compile(source)
}
@function
def example(source: dagger.Directory) -> dagger.Directory:
return (
dag.borgo()
.compile(source)
)
@func()
example(source: Directory): Directory {
return dag
.borgo()
.compile(source)
}
terminal() 🔗
Return Type
Terminal !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/borgo@8a01bf05be5e833d34bfe8b2ae52dccea2a4ec0c call \
terminal --source DIR_PATH
func (m *myModule) example(source *Directory) *Terminal {
return dag.
Borgo().
Terminal(source)
}
@function
def example(source: dagger.Directory) -> dag.Terminal:
return (
dag.borgo()
.terminal(source)
)
@func()
example(source: Directory): Terminal {
return dag
.borgo()
.terminal(source)
}