Skip to content

Commit b6ecbf5

Browse files
committed
all: fix SPDX-FileCopyrightText licence header
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
1 parent c071fd8 commit b6ecbf5

File tree

96 files changed

+421
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+421
-94
lines changed

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ linters-settings:
7272
regexp:
7373
YEAR: '20\d\d'
7474
template: |-
75-
SPDX-FileCopyrightText: Copyright {{ YEAR }} The {{ AUTHOR }} Authors
75+
SPDX-FileCopyrightText: {{ YEAR }} The {{ AUTHOR }} Authors
7676
SPDX-License-Identifier: BSD-3-Clause
7777
goimports:
7878
local-prefixes: go.lsp.dev/protocol

base.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

base_gojay.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

base_gojay_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

base_json.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build !gojay

base_json_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build !gojay

base_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

basic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

basic_gojay.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

basic_gojay_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

basic_json_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build !gojay

basic_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

callhierarchy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

callhierarchy_gojay.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

callhierarchy_gojay_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

callhierarchy_json_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build !gojay

callhierarchy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

capabilities_client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

capabilities_client_gojay.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

capabilities_client_gojay_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

capabilities_client_json_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build !gojay

capabilities_client_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

capabilities_server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

capabilities_server_gojay.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

client_gojay.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

client_json.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build !gojay

context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2020 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2020 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

deprecated.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

diagnostics.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

diagnostics_gojay.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

diagnostics_gojay_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

diagnostics_json_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build !gojay

diagnostics_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
// Package protocol implements Language Server Protocol specification in Go.

errors.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2021 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2021 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

general.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

general_gojay.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

general_gojay_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build gojay

general_json_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
//go:build !gojay

general_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: Copyright 2019 The Go Language Server Authors
1+
// SPDX-FileCopyrightText: 2019 The Go Language Server Authors
22
// SPDX-License-Identifier: BSD-3-Clause
33

44
package protocol

go.mod

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ require (
99
go.lsp.dev/pkg v0.0.0-20210323044036-f7deec69b52e
1010
go.lsp.dev/uri v0.3.0
1111
go.uber.org/zap v1.17.0
12+
golang.org/x/exp v0.0.0-20210625193404-fa9d1d177d71
1213
)

0 commit comments

Comments
 (0)