https://go.dev/ is designed to let developers rapidly develop scalable and secure web applications. Go ships with an easy to use, secure, and https://go.dev/solutions/webdev alongside its own web templating library.

However, your application code inevitably grows over time as it’s adapted for additional programs and web applications.

Here’s the directory structure that we’ll have at the end: ➜ tree gopher gopher ├── go.mod ├── go.sum ├── internal │ ├── container-manager │ │ └── container_manager.go │ ├── task-runner │ │ └── runner.go │ └── types │ └── task.go ├── main.go └── task.yaml 4 directories, 7 files

For this example task runner, we’ll simply call it Runner and define it below: // internal/task-runner/runner.go type Runner interface {

Related Articles