Skip to content

Commit 24bfaf8

Browse files
committed
my PR has been merged: TobiasYin/go-lsp#6
1 parent 5bb6484 commit 24bfaf8

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ brew install quantonganh/tap/snippets-ls
1515

1616
### Install via go
1717

18-
Due to the presence of a `replace` directive in the [go.mod](https://github.com/quantonganh/snippets-ls/blob/main/go.mod#L13) file, [`go install` cannot be used](https://github.com/golang/go/issues/44840). You have to clone and build the package manually:
19-
2018
```sh
21-
$ git clone git@github.com:quantonganh/snippets-ls.git
22-
$ cd snippets-ls
23-
$ go build -o ~/go/bin/snippets-ls main.go
19+
$ go install github.com/quantonganh/snippets-ls@latest
2420
```
2521

2622
Don't forget to append `~/go/bin` to your `$PATH`.

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ module github.com/quantonganh/go-lsp
22

33
go 1.20
44

5-
require github.com/TobiasYin/go-lsp v0.0.0-20230726094935-726488f25eb2
5+
require github.com/TobiasYin/go-lsp v0.0.0-20231106040121-c84e66f01aa4
66

77
require (
88
github.com/json-iterator/go v1.1.12 // indirect
99
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
1010
github.com/modern-go/reflect2 v1.0.2 // indirect
1111
)
12-
13-
replace github.com/TobiasYin/go-lsp => github.com/quantonganh/go-lsp v0.0.0-20230731104334-4ed9f0e35a04

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
github.com/TobiasYin/go-lsp v0.0.0-20231106040121-c84e66f01aa4 h1:FZOnnAwcy8nr77stDFINHVgTTkpbyZNTw/ZOhJrWA7I=
2+
github.com/TobiasYin/go-lsp v0.0.0-20231106040121-c84e66f01aa4/go.mod h1:wcol2p6rdHzKIPn6+I4LL9jv6BBkBklZGZsrZ15wkgU=
13
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
24
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
35
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -10,8 +12,6 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G
1012
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
1113
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1214
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
13-
github.com/quantonganh/go-lsp v0.0.0-20230731104334-4ed9f0e35a04 h1:3Z4OS2k++9JhkCndcw1FhEYIYpbGB9C99LkgCXgIhC8=
14-
github.com/quantonganh/go-lsp v0.0.0-20230731104334-4ed9f0e35a04/go.mod h1:wcol2p6rdHzKIPn6+I4LL9jv6BBkBklZGZsrZ15wkgU=
1515
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
1616
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
1717
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=

0 commit comments

Comments
 (0)