File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff 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
2622Don't forget to append ` ~/go/bin ` to your ` $PATH ` .
Original file line number Diff line number Diff line change @@ -2,12 +2,10 @@ module github.com/quantonganh/go-lsp
22
33go 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
77require (
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
Original file line number Diff line number Diff line change 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 =
13github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
24github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
35github.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
1012github.com/modern-go/reflect2 v1.0.2 /go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk =
1113github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
1214github.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 =
1515github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
1616github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q =
1717github.com/stretchr/testify v1.3.0 /go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI =
You can’t perform that action at this time.
0 commit comments