From 44702ccd4a8365f4addfb1aafae4b5bbbb3a8614 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 19 Sep 2022 00:53:53 -0600 Subject: Give every .go file an SPDX-License-Identifier --- compat/json/borrowed_bench_test.go | 2 ++ compat/json/borrowed_decode_test.go | 2 ++ compat/json/borrowed_encode_test.go | 2 ++ compat/json/borrowed_example_marshaling_test.go | 2 ++ compat/json/borrowed_example_test.go | 2 ++ compat/json/borrowed_example_text_marshaling_test.go | 2 ++ compat/json/borrowed_fuzz_test.go | 2 ++ compat/json/borrowed_misc.go | 2 ++ compat/json/borrowed_number_test.go | 2 ++ compat/json/borrowed_scanner_test.go | 2 ++ compat/json/borrowed_stream_test.go | 2 ++ compat/json/borrowed_tagkey_test.go | 2 ++ compat/json/borrowed_tags_test.go | 2 ++ 13 files changed, 26 insertions(+) (limited to 'compat') 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 -- cgit v1.2.3-54-g00ecf