docs: updated stdlib reference doc

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-06-15 10:48:54 +02:00
parent 6422b4d36d
commit 7054782547
22 changed files with 116 additions and 63 deletions

View File

@@ -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 |