diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-25 16:49:17 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-25 16:49:17 +0200 |
| commit | 3e12f15a8552ffadb79562cd1279806cef2aab83 (patch) | |
| tree | d4fb7a939eff28971b7cf9946de473fbf4a15e99 /internal/repl | |
| parent | fffb525f726b178a9c8327c984f733bb1450730a (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 'internal/repl')
| -rw-r--r-- | internal/repl/commands.go | 3 | ||||
| -rw-r--r-- | internal/repl/commands_test.go | 3 | ||||
| -rw-r--r-- | internal/repl/completer.go | 3 | ||||
| -rw-r--r-- | internal/repl/completer_test.go | 3 | ||||
| -rw-r--r-- | internal/repl/handlers.go | 3 | ||||
| -rw-r--r-- | internal/repl/history.go | 3 | ||||
| -rw-r--r-- | internal/repl/prompt.go | 3 | ||||
| -rw-r--r-- | internal/repl/repl.go | 3 | ||||
| -rw-r--r-- | internal/repl/repl_completer_test.go | 3 | ||||
| -rw-r--r-- | internal/repl/repl_test.go | 3 | ||||
| -rw-r--r-- | internal/repl/signal.go | 3 | ||||
| -rw-r--r-- | internal/repl/tty.go | 3 |
12 files changed, 36 insertions, 0 deletions
diff --git a/internal/repl/commands.go b/internal/repl/commands.go index be49df1..841265b 100644 --- a/internal/repl/commands.go +++ b/internal/repl/commands.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/commands_test.go b/internal/repl/commands_test.go index 90fa3e8..102c34b 100644 --- a/internal/repl/commands_test.go +++ b/internal/repl/commands_test.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/completer.go b/internal/repl/completer.go index 3f55212..d66a5ef 100644 --- a/internal/repl/completer.go +++ b/internal/repl/completer.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/completer_test.go b/internal/repl/completer_test.go index b36c8ec..e64a000 100644 --- a/internal/repl/completer_test.go +++ b/internal/repl/completer_test.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/handlers.go b/internal/repl/handlers.go index 622396f..f68e926 100644 --- a/internal/repl/handlers.go +++ b/internal/repl/handlers.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/history.go b/internal/repl/history.go index f670dc7..5f50dee 100644 --- a/internal/repl/history.go +++ b/internal/repl/history.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/prompt.go b/internal/repl/prompt.go index 656ad6a..37bb23a 100644 --- a/internal/repl/prompt.go +++ b/internal/repl/prompt.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/repl.go b/internal/repl/repl.go index 950156b..55fff97 100644 --- a/internal/repl/repl.go +++ b/internal/repl/repl.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/repl_completer_test.go b/internal/repl/repl_completer_test.go index f7c4bae..05ef194 100644 --- a/internal/repl/repl_completer_test.go +++ b/internal/repl/repl_completer_test.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/repl_test.go b/internal/repl/repl_test.go index 6a8f20d..2200b2a 100644 --- a/internal/repl/repl_test.go +++ b/internal/repl/repl_test.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/signal.go b/internal/repl/signal.go index e0a5ca2..3bffd28 100644 --- a/internal/repl/signal.go +++ b/internal/repl/signal.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( diff --git a/internal/repl/tty.go b/internal/repl/tty.go index c5e77a1..12992cf 100644 --- a/internal/repl/tty.go +++ b/internal/repl/tty.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2026 Paul Buetow + package repl import ( |
