summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2022-09-19 00:53:53 -0600
committerLuke Shumaker <lukeshu@datawire.io>2022-09-19 00:53:53 -0600
commit44702ccd4a8365f4addfb1aafae4b5bbbb3a8614 (patch)
treede4fff781f19d79e299f693e07ba5f12febc1ebc
parent8cf459090af5a4e5db0f8c9a4ac21667029f8639 (diff)
Give every .go file an SPDX-License-Identifier
-rw-r--r--borrowed_misc.go2
-rw-r--r--compat/json/borrowed_bench_test.go2
-rw-r--r--compat/json/borrowed_decode_test.go2
-rw-r--r--compat/json/borrowed_encode_test.go2
-rw-r--r--compat/json/borrowed_example_marshaling_test.go2
-rw-r--r--compat/json/borrowed_example_test.go2
-rw-r--r--compat/json/borrowed_example_text_marshaling_test.go2
-rw-r--r--compat/json/borrowed_fuzz_test.go2
-rw-r--r--compat/json/borrowed_misc.go2
-rw-r--r--compat/json/borrowed_number_test.go2
-rw-r--r--compat/json/borrowed_scanner_test.go2
-rw-r--r--compat/json/borrowed_stream_test.go2
-rw-r--r--compat/json/borrowed_tagkey_test.go2
-rw-r--r--compat/json/borrowed_tags_test.go2
-rw-r--r--internal/borrowed_tags.go2
15 files changed, 30 insertions, 0 deletions
diff --git a/borrowed_misc.go b/borrowed_misc.go
index d5ace19..ab9338f 100644
--- a/borrowed_misc.go
+++ b/borrowed_misc.go
@@ -1,6 +1,8 @@
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package lowmemjson
diff --git a/compat/json/borrowed_bench_test.go b/compat/json/borrowed_bench_test.go
index 0155ff9..e2d74ab 100644
--- a/compat/json/borrowed_bench_test.go
+++ b/compat/json/borrowed_bench_test.go
@@ -1,6 +1,8 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Large data benchmark.
// The JSON data is a summary of agl's changes in the
diff --git a/compat/json/borrowed_decode_test.go b/compat/json/borrowed_decode_test.go
index dd9c344..38e2a1d 100644
--- a/compat/json/borrowed_decode_test.go
+++ b/compat/json/borrowed_decode_test.go
@@ -1,6 +1,8 @@
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json
diff --git a/compat/json/borrowed_encode_test.go b/compat/json/borrowed_encode_test.go
index c193e1c..2b14032 100644
--- a/compat/json/borrowed_encode_test.go
+++ b/compat/json/borrowed_encode_test.go
@@ -1,6 +1,8 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json
diff --git a/compat/json/borrowed_example_marshaling_test.go b/compat/json/borrowed_example_marshaling_test.go
index 7f15c74..44a7c5d 100644
--- a/compat/json/borrowed_example_marshaling_test.go
+++ b/compat/json/borrowed_example_marshaling_test.go
@@ -1,6 +1,8 @@
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json_test
diff --git a/compat/json/borrowed_example_test.go b/compat/json/borrowed_example_test.go
index 2261c77..fd984cd 100644
--- a/compat/json/borrowed_example_test.go
+++ b/compat/json/borrowed_example_test.go
@@ -1,6 +1,8 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json_test
diff --git a/compat/json/borrowed_example_text_marshaling_test.go b/compat/json/borrowed_example_text_marshaling_test.go
index 04c7813..3bfcd34 100644
--- a/compat/json/borrowed_example_text_marshaling_test.go
+++ b/compat/json/borrowed_example_text_marshaling_test.go
@@ -1,6 +1,8 @@
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json_test
diff --git a/compat/json/borrowed_fuzz_test.go b/compat/json/borrowed_fuzz_test.go
index 8490af6..6a0b0d1 100644
--- a/compat/json/borrowed_fuzz_test.go
+++ b/compat/json/borrowed_fuzz_test.go
@@ -1,6 +1,8 @@
// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json
diff --git a/compat/json/borrowed_misc.go b/compat/json/borrowed_misc.go
index e6b0162..8427316 100644
--- a/compat/json/borrowed_misc.go
+++ b/compat/json/borrowed_misc.go
@@ -1,6 +1,8 @@
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json
diff --git a/compat/json/borrowed_number_test.go b/compat/json/borrowed_number_test.go
index cc67018..f18f74e 100644
--- a/compat/json/borrowed_number_test.go
+++ b/compat/json/borrowed_number_test.go
@@ -1,6 +1,8 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json
diff --git a/compat/json/borrowed_scanner_test.go b/compat/json/borrowed_scanner_test.go
index 3474b3e..64d3318 100644
--- a/compat/json/borrowed_scanner_test.go
+++ b/compat/json/borrowed_scanner_test.go
@@ -1,6 +1,8 @@
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json
diff --git a/compat/json/borrowed_stream_test.go b/compat/json/borrowed_stream_test.go
index edeab4a..1ffb43d 100644
--- a/compat/json/borrowed_stream_test.go
+++ b/compat/json/borrowed_stream_test.go
@@ -1,6 +1,8 @@
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json
diff --git a/compat/json/borrowed_tagkey_test.go b/compat/json/borrowed_tagkey_test.go
index 59e4061..d48cc67 100644
--- a/compat/json/borrowed_tagkey_test.go
+++ b/compat/json/borrowed_tagkey_test.go
@@ -1,6 +1,8 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json
diff --git a/compat/json/borrowed_tags_test.go b/compat/json/borrowed_tags_test.go
index 8ba8ddd..71d26e1 100644
--- a/compat/json/borrowed_tags_test.go
+++ b/compat/json/borrowed_tags_test.go
@@ -1,6 +1,8 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package json
diff --git a/internal/borrowed_tags.go b/internal/borrowed_tags.go
index 6bbb36d..6eaf5da 100644
--- a/internal/borrowed_tags.go
+++ b/internal/borrowed_tags.go
@@ -1,6 +1,8 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//
+// SPDX-License-Identifier: BSD-3-Clause
package internal // MODIFIED: changed package name