docs: fix go-ci guide slug and add file title
Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
This commit is contained in:
parent
f744996556
commit
d87c6430e3
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
slug: /1227/go-ci
|
slug: /1228/go-ci
|
||||||
displayed_sidebar: europa
|
displayed_sidebar: europa
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -21,13 +21,13 @@ both use the [Go dagger package](https://github.com/dagger/dagger/tree/main/pkg/
|
|||||||
|
|
||||||
## Go project
|
## Go project
|
||||||
|
|
||||||
The project is a simple program that takes `$NAME` environment variable, use the [Go greeting package](https://github.com/dagger/dagger/tree/main/docs/plans/go-ci/hello/greeting) to print the `greeting.Greet()` out.
|
The project is a simple program that takes `$NAME` environment variable, use the [Go greeting package](https://github.com/dagger/dagger/tree/main/docs/plans/go-ci/hello/greeting) to print the `greeting.Greeting()` out.
|
||||||
|
|
||||||
```go file=../plans/go-ci/hello/main.go
|
```go file=../plans/go-ci/hello/main.go title=hello/main.go
|
||||||
```
|
```
|
||||||
|
|
||||||
```go file=../plans/go-ci/hello/greeting/greeting.go
|
```go file=../plans/go-ci/hello/greeting/greeting.go title=hello/greeting/greeting.go
|
||||||
```
|
```
|
||||||
|
|
||||||
```go file=../plans/go-ci/hello/greeting/greeting_test.go
|
```go file=../plans/go-ci/hello/greeting/greeting_test.go title=hello/greeting/greeting_test.go
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user