diff options
author | Emile <git@emile.space> | 2025-02-12 21:24:31 +0100 |
---|---|---|
committer | Emile <git@emile.space> | 2025-02-12 21:24:31 +0100 |
commit | c0a8852e4ec21f15c5a862201515518c3eee7734 (patch) | |
tree | eb906ede104475df681d3b61ecae234d5bb67b62 /nix/templates/goapp/README.md | |
parent | 2e1c7e7c033a8d1819c65a65dbed71f884e2fec1 (diff) |
template: a basic golang app template
This template allows building golang apps as well as a corresponding docker container from the built package
Diffstat (limited to 'nix/templates/goapp/README.md')
-rw-r--r-- | nix/templates/goapp/README.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/nix/templates/goapp/README.md b/nix/templates/goapp/README.md new file mode 100644 index 0000000..e819496 --- /dev/null +++ b/nix/templates/goapp/README.md @@ -0,0 +1,39 @@ +# goapp + +A template for a go app. + +```bash +; nix flake show +warning: Git tree '/Users/emile/hefe' is dirty +git+file:///Users/emile/hefe?dir=nix/templates/goapp +├───devShells +│ ├───aarch64-darwin +│ │ └───default: development environment 'nix-shell' +│ ├───aarch64-linux +│ │ └───default omitted (use '--all-systems' to show) +│ ├───x86_64-darwin +│ │ └───default omitted (use '--all-systems' to show) +│ └───x86_64-linux +│ └───default omitted (use '--all-systems' to show) +└───packages + ├───aarch64-darwin + │ ├───backend: package 'backend-0.0.1' + │ ├───backend-docker: package 'docker-image-backend.tar.gz' + │ ├───frontend: package 'frontend-0.0.1' + │ └───frontend-docker: package 'docker-image-frontend.tar.gz' + ├───aarch64-linux + │ ├───backend omitted (use '--all-systems' to show) + │ ├───backend-docker omitted (use '--all-systems' to show) + │ ├───frontend omitted (use '--all-systems' to show) + │ └───frontend-docker omitted (use '--all-systems' to show) + ├───x86_64-darwin + │ ├───backend omitted (use '--all-systems' to show) + │ ├───backend-docker omitted (use '--all-systems' to show) + │ ├───frontend omitted (use '--all-systems' to show) + │ └───frontend-docker omitted (use '--all-systems' to show) + └───x86_64-linux + ├───backend omitted (use '--all-systems' to show) + ├───backend-docker omitted (use '--all-systems' to show) + ├───frontend omitted (use '--all-systems' to show) + └───frontend-docker omitted (use '--all-systems' to show) +``` |