[VOL-5254] - repo:ofagent-go release tag & branch
cmd/*.go
internal/*.go
-------------
o Update copyright notice ending date.
o Run gofmt -s -e -w to avoid linting problems.
o Baseline build to screen for pre-existing repo problems.
Change-Id: Ie52512b47dc88233b0bf9caf9926e0770dee967a
diff --git a/cmd/ofagent/common.go b/cmd/ofagent/common.go
index d712ca0..78a211a 100644
--- a/cmd/ofagent/common.go
+++ b/cmd/ofagent/common.go
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2023 Open Networking Foundation (ONF) and the ONF Contributors
+ * Copyright 2020-2024 Open Networking Foundation (ONF) and the ONF Contributors
*
* 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/cmd/ofagent/config.go b/cmd/ofagent/config.go
index a929077..53fff5a 100644
--- a/cmd/ofagent/config.go
+++ b/cmd/ofagent/config.go
@@ -1,17 +1,17 @@
/*
- Copyright 2019 the original author or authors.
+Copyright 2019 the original author or authors.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
*/
package main
diff --git a/cmd/ofagent/profile.go b/cmd/ofagent/profile.go
index cdb9ce9..78c39c4 100644
--- a/cmd/ofagent/profile.go
+++ b/cmd/ofagent/profile.go
@@ -1,7 +1,8 @@
+//go:build profile
// +build profile
/*
- * Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
+ * Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
* 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/cmd/ofagent/release.go b/cmd/ofagent/release.go
index 29032c0..9660eac 100644
--- a/cmd/ofagent/release.go
+++ b/cmd/ofagent/release.go
@@ -1,7 +1,8 @@
+//go:build !profile
// +build !profile
/*
- * Copyright 2018-2023 Open Networking Foundation (ONF) and the ONF Contributors
+ * Copyright 2018-2024 Open Networking Foundation (ONF) and the ONF Contributors
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.