Skip to content

Commit b6ecbf5

Browse files
committed
all: fix SPDX-FileCopyrightText licence header
Signed-off-by: Koichi Shiraishi <[email protected]>
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

Diff for: .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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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.

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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)