From 7dae5f6ec0bd7200bcdbb98c16a77f25f66f92cd Mon Sep 17 00:00:00 2001 From: Bianca Moreira Date: Wed, 6 Dec 2023 17:02:17 +0100 Subject: [PATCH] Add copywrite headers --- command.go | 3 +++ command_test.go | 3 +++ config.go | 3 +++ config_test.go | 3 +++ connect.go | 3 +++ connect_test.go | 3 +++ disconnect.go | 3 +++ disconnect_test.go | 3 +++ flag.go | 3 +++ scripts/gofmtcheck.sh | 3 +++ testhelpers.go | 3 +++ tools/tools.go | 3 +++ 12 files changed, 36 insertions(+) diff --git a/command.go b/command.go index e7a1230..4eb4692 100644 --- a/command.go +++ b/command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import "github.com/hashicorp/cli" diff --git a/command_test.go b/command_test.go index 4807624..0149650 100644 --- a/command_test.go +++ b/command_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import ( diff --git a/config.go b/config.go index b28c510..291ddfb 100644 --- a/config.go +++ b/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import ( diff --git a/config_test.go b/config_test.go index 97c7783..2b2eb96 100644 --- a/config_test.go +++ b/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import ( diff --git a/connect.go b/connect.go index 8ed75ce..9b1790b 100644 --- a/connect.go +++ b/connect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import ( diff --git a/connect_test.go b/connect_test.go index 44dde57..b792f1e 100644 --- a/connect_test.go +++ b/connect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import ( diff --git a/disconnect.go b/disconnect.go index 549db28..9820d5a 100644 --- a/disconnect.go +++ b/disconnect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import ( diff --git a/disconnect_test.go b/disconnect_test.go index 369ee34..dc429cd 100644 --- a/disconnect_test.go +++ b/disconnect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import ( diff --git a/flag.go b/flag.go index 30848e1..b8178b9 100644 --- a/flag.go +++ b/flag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import "strconv" diff --git a/scripts/gofmtcheck.sh b/scripts/gofmtcheck.sh index 2f3fb61..3de081e 100755 --- a/scripts/gofmtcheck.sh +++ b/scripts/gofmtcheck.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + echo "==> Checking that code complies with gofumpt requirements..." diff --git a/testhelpers.go b/testhelpers.go index 0171666..fba8c45 100644 --- a/testhelpers.go +++ b/testhelpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package vaulthcplib import ( diff --git a/tools/tools.go b/tools/tools.go index 3631222..283ffd8 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build tools // This file ensures tool dependencies are kept in sync. This is the