Skip to content

Commit 8824a3a

Browse files
committed
all: set vanity import path
1 parent 136c2c1 commit 8824a3a

File tree

8 files changed

+20
-15
lines changed

8 files changed

+20
-15
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
executor:
1010
name: golang/buster
1111
tag: "1.14-buster"
12-
working_directory: /go/src/github.com/go-language-server/jsonrpc2
12+
working_directory: /go/src/go.lsp.dev/jsonrpc2
1313
environment:
1414
GO111MODULE: "on"
1515
parallelism: 2
@@ -34,7 +34,7 @@ jobs:
3434
executor:
3535
name: golang/buster
3636
tag: "1.14-buster"
37-
working_directory: /go/src/github.com/go-language-server/jsonrpc2
37+
working_directory: /go/src/go.lsp.dev/jsonrpc2
3838
environment:
3939
GO111MODULE: "on"
4040
parallelism: 2

.errcheckignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
(*github.com/go-language-server/jsonrpc2.Request).Reply
1+
(*go.lsp.dev/jsonrpc2.Request).Reply

.gitattributes

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
# jsonrpc2 project gitattributes file
2-
# https://github.com/github/linguist#using-gitattributes
1+
# go.lsp.dev/jsonrpc2 project gitattributes file
2+
# https://github.com/github/linguist#using-gitattributes
3+
# https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
34

4-
docs linguist-documentation
5-
*.pb.go linguist-generated
5+
# To prevent CRLF breakages on Windows for fragile files, like testdata.
6+
* -text
7+
8+
docs/ linguist-documentation
9+
*.pb.go linguist-generated
10+
*_gen.go linguist-generated
611
*_string.go linguist-generated

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# jsonrpc2 project generated files to ignore
1+
# go.lsp.dev/jsonrpc2 project generated files to ignore
22
# if you want to ignore files created by your editor/tools,
33
# please consider a global .gitignore https://help.github.com/articles/ignoring-files
44
# please do not open a pull request to add something created by your editor or tools
@@ -17,6 +17,9 @@
1717
# Output of the go coverage tool, specifically when used with LiteIDE
1818
*.out
1919

20+
# Dependency directories (remove the comment below to include it)
21+
vendor/
22+
2023
# Compiled Object files, Static and Dynamic libs (Shared Objects)
2124
*.o
2225
*.a
@@ -44,6 +47,3 @@ _testmain.go
4447

4548
# coverage
4649
coverage.*
47-
48-
# modules
49-
vendor/*

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ linters-settings:
4040
gofmt:
4141
simplify: true
4242
goimports:
43-
local-prefixes: github.com/go-language-server/jsonrpc2
43+
local-prefixes: go.lsp.dev/jsonrpc2
4444
golint:
4545
min-confidence: 0.3
4646
govet:

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
// license that can be found in the LICENSE file.
44

55
// Package jsonrpc2 is an implementation of the JSON-RPC 2 specification for Go.
6-
package jsonrpc2
6+
package jsonrpc2 // import "go.lsp.dev/jsonrpc2"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/go-language-server/jsonrpc2
1+
module go.lsp.dev/jsonrpc2
22

33
go 1.13
44

jsonrpc2_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717

1818
"go.uber.org/zap"
1919

20-
"github.com/go-language-server/jsonrpc2"
20+
"go.lsp.dev/jsonrpc2"
2121
)
2222

2323
var logRPC = flag.Bool("logrpc", false, "Enable jsonrpc2 communication logging")

0 commit comments

Comments
 (0)