greet is a simple Go program that greets a recipient, or the world.
Find a file
Dan Anglin c2a1e28773
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci: add CI pipelines
Summary:

Add simple CI pipelines to the greet project. Here we add CI pipelines
for both Woodpecker and Dagger CI as we are currently interested in both
technologies.

Changes:

- Add .woodpecker/woodpecker.yml
- Updated LICENSE
- Updated README.md
- Fixed linting issues in greet.go
- Created a new internal go module for CI/CD in internal/build
- Moved the magefiles to internal/build/magefiles
- Add dagger pipeline code
2023-05-13 23:06:25 +01:00
.woodpecker ci: add CI pipelines 2023-05-13 23:06:25 +01:00
internal/build ci: add CI pipelines 2023-05-13 23:06:25 +01:00
.gitignore feat: add greet program and tests 2021-08-29 15:36:09 +01:00
.golangci.yaml refactor: add support for mage and golangci-lint 2021-09-19 05:57:46 +01:00
go.mod ci: add CI pipelines 2023-05-13 23:06:25 +01:00
go.sum ci: add CI pipelines 2023-05-13 23:06:25 +01:00
greet.go ci: add CI pipelines 2023-05-13 23:06:25 +01:00
greet_test.go refactor: add support for mage and golangci-lint 2021-09-19 05:57:46 +01:00
LICENSE ci: add CI pipelines 2023-05-13 23:06:25 +01:00
README.md ci: add CI pipelines 2023-05-13 23:06:25 +01:00

Greetings

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.

Project's Avatar

The project's avatar was made by Smashicons from Flaticon.

Requirements

Build

$ go build -o greet .

Run

Greet the world.

$ ./greet
Hello, World!

Greet a person.

$ ./greet Bob
Hello, Bob!

Run Dagger Pipeline locally

$ pushd internal/build && go run . && popd