diff --git a/LICENSE.md b/LICENSE.md index f1e88f2..0a13f7b 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -628,7 +628,7 @@ the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. go-remove - A command-line tool to remove Go binaries - Copyright (C) 2025 Nicholas Fedor + Copyright (C) 2026 Nicholas Fedor This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as diff --git a/README.md b/README.md index 6c8ade9..22042ae 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ Run locally: ## Requirements -- Go 1.16 or later (for module support). +- Go 1.26 or later (for module support). ## License diff --git a/cmd/root.go b/cmd/root.go index ff2f4ef..e3ef932 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ // Package cmd contains the command-line interface logic for go-remove. diff --git a/cmd/root_test.go b/cmd/root_test.go index dbefd4b..4ea93d1 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ package cmd diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 3805b35..6a22c3b 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ // Package cli provides core logic for the go-remove command-line interface. diff --git a/internal/cli/cli_test.go b/internal/cli/cli_test.go index aa2eff2..f75b76c 100644 --- a/internal/cli/cli_test.go +++ b/internal/cli/cli_test.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ package cli diff --git a/internal/cli/mocks/ProgramRunner.go b/internal/cli/mocks/ProgramRunner.go index dec7538..3fdab8b 100644 --- a/internal/cli/mocks/ProgramRunner.go +++ b/internal/cli/mocks/ProgramRunner.go @@ -1,3 +1,8 @@ +/* +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later +*/ + // Code generated by mockery; DO NOT EDIT. // github.com/vektra/mockery // template: testify @@ -5,7 +10,7 @@ package mocks import ( - "charm.land/bubbletea/v2" + tea "charm.land/bubbletea/v2" mock "github.com/stretchr/testify/mock" ) diff --git a/internal/cli/tui.go b/internal/cli/tui.go index ff36c6b..2a9d13b 100644 --- a/internal/cli/tui.go +++ b/internal/cli/tui.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ // Package cli provides core logic for the go-remove command-line interface. diff --git a/internal/cli/tui_test.go b/internal/cli/tui_test.go index ca448f2..ba76eb3 100644 --- a/internal/cli/tui_test.go +++ b/internal/cli/tui_test.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ package cli diff --git a/internal/fs/fs.go b/internal/fs/fs.go index 0c7e12c..d9354ac 100644 --- a/internal/fs/fs.go +++ b/internal/fs/fs.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ // Package fs provides filesystem operations for managing Go binaries. diff --git a/internal/fs/fs_test.go b/internal/fs/fs_test.go index 23d4c68..95da280 100644 --- a/internal/fs/fs_test.go +++ b/internal/fs/fs_test.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ package fs diff --git a/internal/fs/mocks/FS.go b/internal/fs/mocks/FS.go index 740b6d6..bcc8a62 100644 --- a/internal/fs/mocks/FS.go +++ b/internal/fs/mocks/FS.go @@ -1,3 +1,8 @@ +/* +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later +*/ + // Code generated by mockery; DO NOT EDIT. // github.com/vektra/mockery // template: testify diff --git a/internal/logger/logger.go b/internal/logger/logger.go index e466a1e..9e4cd19 100644 --- a/internal/logger/logger.go +++ b/internal/logger/logger.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ // Package logger provides a logging interface and implementation for go-remove. diff --git a/internal/logger/logger_test.go b/internal/logger/logger_test.go index 495e473..32e9fa8 100644 --- a/internal/logger/logger_test.go +++ b/internal/logger/logger_test.go @@ -1,18 +1,6 @@ /* -Copyright © 2025 Nicholas Fedor - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see . +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later */ package logger diff --git a/internal/logger/mocks/Logger.go b/internal/logger/mocks/Logger.go index 02a0955..3cb4d71 100644 --- a/internal/logger/mocks/Logger.go +++ b/internal/logger/mocks/Logger.go @@ -1,3 +1,8 @@ +/* +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later +*/ + // Code generated by mockery; DO NOT EDIT. // github.com/vektra/mockery // template: testify diff --git a/main.go b/main.go index 7ba02f9..d155826 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,8 @@ +/* +Copyright © 2026 Nicholas Fedor +SPDX-License-Identifier: AGPL-3.0-or-later +*/ + // Package main provides the entry point for the go-remove command-line tool. package main