2021-08-28 19:24:43 +01:00
|
|
|
# Greetings
|
|
|
|
|
2021-08-29 15:36:09 +01:00
|
|
|
## Summary
|
|
|
|
|
|
|
|
Greet is a simple Go CLI application that greets a recipient.
|
|
|
|
This is a simple project used for the purpose of testing upcoming automation,
|
|
|
|
such as CI/CD integration and dependency management, which will be used by other projects
|
|
|
|
hosted in Code Flow.
|
|
|
|
|
2021-09-20 07:23:34 +01:00
|
|
|
## Project's Avatar
|
|
|
|
|
|
|
|
The project's avatar was made by [Smashicons](https://www.flaticon.com/authors/smashicons) from [Flaticon](https://www.flaticon.com).
|
|
|
|
|
2021-08-29 15:36:09 +01:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- [Go](https://go.dev/)
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
```
|
|
|
|
$ go build -o greet .
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run
|
|
|
|
|
|
|
|
Greet the world.
|
|
|
|
```
|
|
|
|
$ ./greet
|
|
|
|
Hello, World!
|
|
|
|
```
|
|
|
|
|
|
|
|
Greet a person.
|
|
|
|
```
|
|
|
|
$ ./greet Bob
|
|
|
|
Hello, Bob!
|
2023-05-13 23:06:25 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Run Dagger Pipeline locally
|
|
|
|
|
|
|
|
```
|
|
|
|
$ pushd internal/build && go run . && popd
|
|
|
|
```
|