wwhrd
No long description provided.
Installation
dagger install github.com/steve-nzr/daggerverse/wwhrd@v0.1.0
Entrypoint
Return Type
Wwhrd !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
wwhrdVersion | String | "latest" | No description provided |
goVersion | String | "1.22" | No description provided |
Example
dagger -m github.com/steve-nzr/daggerverse/wwhrd@0f42860f8bb78d77d858cb63e65b4ddc16056c99 call \
func (m *myModule) example() *Wwhrd {
return dag.
Wwhrd()
}
@function
def example() -> dag.Wwhrd:
return (
dag.wwhrd()
)
@func()
example(): Wwhrd {
return dag
.wwhrd()
}
Types
Wwhrd 🔗
wwhrdversion() 🔗
Return Type
String !
Example
dagger -m github.com/steve-nzr/daggerverse/wwhrd@0f42860f8bb78d77d858cb63e65b4ddc16056c99 call \
wwhrdversion
func (m *myModule) example(ctx context.Context) string {
return dag.
Wwhrd().
Wwhrdversion(ctx)
}
@function
async def example() -> str:
return await (
dag.wwhrd()
.wwhrdversion()
)
@func()
async example(): Promise<string> {
return dag
.wwhrd()
.wwhrdversion()
}
goVersion() 🔗
Return Type
String !
Example
dagger -m github.com/steve-nzr/daggerverse/wwhrd@0f42860f8bb78d77d858cb63e65b4ddc16056c99 call \
go-version
func (m *myModule) example(ctx context.Context) string {
return dag.
Wwhrd().
GoVersion(ctx)
}
@function
async def example() -> str:
return await (
dag.wwhrd()
.go_version()
)
@func()
async example(): Promise<string> {
return dag
.wwhrd()
.goVersion()
}
check() 🔗
Runs the check command of wwhrd
Example: \( dagger call --go-version=1.22 --wwhrd-version=latest check --source-dir=\)HOME/my-go-project
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
sourceDir | Directory ! | - | No description provided |
Example
dagger -m github.com/steve-nzr/daggerverse/wwhrd@0f42860f8bb78d77d858cb63e65b4ddc16056c99 call \
check --source-dir DIR_PATH
func (m *myModule) example(ctx context.Context, sourceDir *Directory) string {
return dag.
Wwhrd().
Check(ctx, sourceDir)
}
@function
async def example(source_dir: dagger.Directory) -> str:
return await (
dag.wwhrd()
.check(source_dir)
)
@func()
async example(sourceDir: Directory): Promise<string> {
return dag
.wwhrd()
.check(sourceDir)
}