From 69512552afbfab46ed4a962a828825f1db899296 Mon Sep 17 00:00:00 2001 From: Kazumichi Yamamoto Date: Wed, 8 Jan 2025 09:33:13 +0900 Subject: [PATCH] copyright 2025 (#73) --- .golangci.yml | 5 +++++ Makefile | 4 ++-- README.md | 2 +- cidr/cidr.go | 2 +- e2e/commands.go | 2 +- e2e/output.go | 2 +- e2e/request.go | 2 +- e2e/terraform.go | 2 +- envvar/envvar.go | 2 +- mutexkv/mutexkv.go | 2 +- newsfeed/functions.go | 2 +- newsfeed/functions_test.go | 2 +- newsfeed/newsfeed.go | 2 +- objutil/empty.go | 2 +- objutil/slice.go | 2 +- objutil/slice_test.go | 2 +- pointer/primitive.go | 2 +- pointer/slice.go | 2 +- size/size.go | 2 +- size/size_test.go | 2 +- testutil/testutil.go | 2 +- validate/validate.go | 2 +- validate/validate_test.go | 2 +- version.go | 2 +- wait/polling.go | 2 +- wait/waiter.go | 2 +- wait/waiter_test.go | 2 +- 27 files changed, 32 insertions(+), 27 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index e3679a4..237fb3d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,6 +4,11 @@ run: issues: max-per-linter: 0 max-same-issues: 0 + exclude-rules: + - linters: + - gosec + text: "integer overflow conversion" + path: cidr/ linters: disable-all: true diff --git a/Makefile b/Makefile index f84d427..e253819 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# Copyright 2022-2023 The sacloud/packages-go Authors +# Copyright 2022-2025 The sacloud/packages-go Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ # #==================== AUTHOR ?= The sacloud/packages-go Authors -COPYRIGHT_YEAR ?= 2022-2023 +COPYRIGHT_YEAR ?= 2022-2025 include includes/go/common.mk #==================== diff --git a/README.md b/README.md index a48a98c..31844e3 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,6 @@ ## License -`sacloud/packages-go` Copyright (C) 2022-2023 [The sacloud/packages-go Authors](AUTHORS). +`sacloud/packages-go` Copyright (C) 2022-2025 [The sacloud/packages-go Authors](AUTHORS). This project is published under [Apache 2.0 License](LICENSE.txt). diff --git a/cidr/cidr.go b/cidr/cidr.go index f6bfefc..ed61e95 100644 --- a/cidr/cidr.go +++ b/cidr/cidr.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/e2e/commands.go b/e2e/commands.go index b72d601..b052d14 100644 --- a/e2e/commands.go +++ b/e2e/commands.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/e2e/output.go b/e2e/output.go index 5c001a6..5f346e4 100644 --- a/e2e/output.go +++ b/e2e/output.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/e2e/request.go b/e2e/request.go index 8f4213e..046ad09 100644 --- a/e2e/request.go +++ b/e2e/request.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/e2e/terraform.go b/e2e/terraform.go index e3279ff..c0df393 100644 --- a/e2e/terraform.go +++ b/e2e/terraform.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/envvar/envvar.go b/envvar/envvar.go index 3295510..50130ea 100644 --- a/envvar/envvar.go +++ b/envvar/envvar.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/mutexkv/mutexkv.go b/mutexkv/mutexkv.go index fab90d2..83f66f4 100644 --- a/mutexkv/mutexkv.go +++ b/mutexkv/mutexkv.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/newsfeed/functions.go b/newsfeed/functions.go index 28d576f..1dd87de 100644 --- a/newsfeed/functions.go +++ b/newsfeed/functions.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/newsfeed/functions_test.go b/newsfeed/functions_test.go index 8c39a0f..7cbbd1c 100644 --- a/newsfeed/functions_test.go +++ b/newsfeed/functions_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/newsfeed/newsfeed.go b/newsfeed/newsfeed.go index 3a0d73b..b9a2ab1 100644 --- a/newsfeed/newsfeed.go +++ b/newsfeed/newsfeed.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objutil/empty.go b/objutil/empty.go index 9512e89..b81389f 100644 --- a/objutil/empty.go +++ b/objutil/empty.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objutil/slice.go b/objutil/slice.go index 8220b7e..0a25995 100644 --- a/objutil/slice.go +++ b/objutil/slice.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objutil/slice_test.go b/objutil/slice_test.go index ca70c14..ddd0fe9 100644 --- a/objutil/slice_test.go +++ b/objutil/slice_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pointer/primitive.go b/pointer/primitive.go index 2b147f4..860cb53 100644 --- a/pointer/primitive.go +++ b/pointer/primitive.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pointer/slice.go b/pointer/slice.go index b42eae1..9616bd1 100644 --- a/pointer/slice.go +++ b/pointer/slice.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/size/size.go b/size/size.go index 8e27a5c..36c7a99 100644 --- a/size/size.go +++ b/size/size.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/size/size_test.go b/size/size_test.go index dddc74f..f981b46 100644 --- a/size/size_test.go +++ b/size/size_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/testutil/testutil.go b/testutil/testutil.go index 5811096..6567855 100644 --- a/testutil/testutil.go +++ b/testutil/testutil.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/validate/validate.go b/validate/validate.go index a6695f8..53c53e3 100644 --- a/validate/validate.go +++ b/validate/validate.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/validate/validate_test.go b/validate/validate_test.go index 14df401..8f7a9b2 100644 --- a/validate/validate_test.go +++ b/validate/validate_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/version.go b/version.go index fd84e1a..56073fb 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/wait/polling.go b/wait/polling.go index d833f08..85ad8d0 100644 --- a/wait/polling.go +++ b/wait/polling.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/wait/waiter.go b/wait/waiter.go index 6cce44d..a46883e 100644 --- a/wait/waiter.go +++ b/wait/waiter.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/wait/waiter_test.go b/wait/waiter_test.go index be25e1a..2aa6a9e 100644 --- a/wait/waiter_test.go +++ b/wait/waiter_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/packages-go Authors +// Copyright 2022-2025 The sacloud/packages-go Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.