diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-19 23:25:02 +0300 |
|---|---|---|
| committer | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-19 23:25:02 +0300 |
| commit | 624ab88cad9469241bd83c2557e5d0a235cdd639 (patch) | |
| tree | 287381d232c952158e7d2ad608b07de1eff4ac84 | |
| parent | 0e96204457dfed2a3e9768dcff38df45b0475c81 (diff) | |
Add boilerplate Go program
| -rw-r--r-- | Taskfile.yaml | 6 | ||||
| -rw-r--r-- | cmd/tasksamurai/main.go | 11 | ||||
| -rw-r--r-- | go.mod | 3 | ||||
| -rw-r--r-- | internal/version.go | 3 |
4 files changed, 23 insertions, 0 deletions
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) +} @@ -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" |
