batect-sample-golang

A very simple Golang application with Batect-based build and testing environments.

Building, testing, running etc.

Run ./batect --list-tasks to see the available commands and their descriptions, then ./batect <task> to run <task>.

Most tasks require you to have downloaded the application's dependencies first. ./batect setup will do this for you.

All of this is controlled by batect.yml, and it shows a number of common patterns you might adopt in your own
application.

More information

You can find further sample projects on this page in the batect documentation.

GitHub

https://github.com/batect/batect-sample-golang