summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 16:49:17 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 16:49:17 +0200
commitad5228c1ffb4924caa547a19609171bb8cd783fc (patch)
tree219fc3b3a9baa38216dd17fb7664f0688e95ee8f /cmd
parent515ce3752b5470ade8cd9f956f9d8f9cc80ac06f (diff)
docs: Add SPDX license headers to all .go source files
- Added 'SPDX-License-Identifier: MIT' and 'Copyright (c) 2026 Paul Buetow' headers - Files updated: 24 .go files across cmd/gt/, internal/calculator/, internal/repl/, internal/rpn/ The MIT license from LICENSE file is reflected in all source files.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gt/main.go3
-rw-r--r--cmd/gt/main_test.go3
2 files changed, 6 insertions, 0 deletions
diff --git a/cmd/gt/main.go b/cmd/gt/main.go
index c571792..eccabf7 100644
--- a/cmd/gt/main.go
+++ b/cmd/gt/main.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 Paul Buetow
+
// Package gt provides a command-line percentage calculator with RPN support.
//
// gt is a versatile calculator that supports both percentage calculations and
diff --git a/cmd/gt/main_test.go b/cmd/gt/main_test.go
index df4d59f..3ad91ab 100644
--- a/cmd/gt/main_test.go
+++ b/cmd/gt/main_test.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 Paul Buetow
+
package main
import (