From 624ab88cad9469241bd83c2557e5d0a235cdd639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= <1224732+snonux@users.noreply.github.com> Date: Thu, 19 Jun 2025 23:25:02 +0300 Subject: Add boilerplate Go program --- Taskfile.yaml | 6 ++++++ cmd/tasksamurai/main.go | 11 +++++++++++ go.mod | 3 +++ internal/version.go | 3 +++ 4 files changed, 23 insertions(+) create mode 100644 Taskfile.yaml create mode 100644 cmd/tasksamurai/main.go create mode 100644 go.mod create mode 100644 internal/version.go diff --git a/Taskfile.yaml b/Taskfile.yaml new file mode 100644 index 0000000..fd27474 --- /dev/null +++ b/Taskfile.yaml @@ -0,0 +1,6 @@ +version: '3' + +tasks: + default: + cmds: + - go run ./cmd/tasksamurai diff --git a/cmd/tasksamurai/main.go b/cmd/tasksamurai/main.go new file mode 100644 index 0000000..492cdaf --- /dev/null +++ b/cmd/tasksamurai/main.go @@ -0,0 +1,11 @@ +package main + +import ( + "fmt" + + "tasksamurai/internal" +) + +func main() { + fmt.Println("tasksamurai version", internal.Version) +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..891f73a --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module tasksamurai + +go 1.23.8 diff --git a/internal/version.go b/internal/version.go new file mode 100644 index 0000000..8826dc9 --- /dev/null +++ b/internal/version.go @@ -0,0 +1,3 @@ +package internal + +const Version = "v0.1.0" -- cgit v1.2.3