docs: fix go-ci guide slug and add file title

Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
This commit is contained in:
Tanguy ⧓ Herrmann 2022-04-13 17:36:27 +02:00
parent f744996556
commit d87c6430e3
No known key found for this signature in database
GPG Key ID: 0FE2C1C97F50F73B

View File

@ -1,5 +1,5 @@
---
slug: /1227/go-ci
slug: /1228/go-ci
displayed_sidebar: europa
---
@ -21,13 +21,13 @@ both use the [Go dagger package](https://github.com/dagger/dagger/tree/main/pkg/
## 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
```