docs: updated stdlib reference doc
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
@@ -4,8 +4,12 @@ sidebar_label: go
|
||||
|
||||
# dagger.io/go
|
||||
|
||||
Go build operations
|
||||
|
||||
## #Build
|
||||
|
||||
Go application builder
|
||||
|
||||
### #Build Inputs
|
||||
|
||||
| Name | Type | Description |
|
||||
@@ -33,7 +37,7 @@ A standalone go environment
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*version* | `*"1.16" \| string` |Go version to use |
|
||||
|*source* | `dagger.#Artifact` |- |
|
||||
|*source* | `dagger.#Artifact` |Source code |
|
||||
|*image.from* | `"docker.io/golang:1.16-alpine"` |Remote ref (example: "index.docker.io/alpine:latest") |
|
||||
|
||||
### #Container Outputs
|
||||
@@ -42,6 +46,8 @@ _No output._
|
||||
|
||||
## #Go
|
||||
|
||||
Re-usable component for the Go compiler
|
||||
|
||||
### #Go Inputs
|
||||
|
||||
| Name | Type | Description |
|
||||
|
Reference in New Issue
Block a user