From 1524220eee716525de1ac35b424ff49835b532a8 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Sun, 8 Mar 2020 20:51:27 +0900 Subject: [PATCH] all: set vanity import path --- .gitattributes | 16 +++++++++------- .gitignore | 11 +++++------ .golangci.yml | 2 +- README.md | 2 +- doc.go | 2 +- go.mod | 2 +- 6 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.gitattributes b/.gitattributes index 857957d..cae764e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,11 @@ -# go-language-server/uri project gitattributes file -# https://github.com/github/linguist#using-gitattributes -# https://github.com/github/linguist/blob/master/lib/linguist/languages.yml +# go.lsp.dev/uri project gitattributes file +# https://github.com/github/linguist#using-gitattributes +# https://github.com/github/linguist/blob/master/lib/linguist/languages.yml -docs linguist-documentation -*.pb.go linguist-generated +# To prevent CRLF breakages on Windows for fragile files, like testdata. +* -text + +docs/ linguist-documentation +*.pb.go linguist-generated +*_gen.go linguist-generated *_string.go linguist-generated -*_gen.go linguist-generated -vendor/* linguist-vendored diff --git a/.gitignore b/.gitignore index 5c64ee7..0449794 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ -# go-language-server/uri project generated files to ignore +# go.lsp.dev/uri project generated files to ignore # if you want to ignore files created by your editor/tools, # please consider a global .gitignore https://help.github.com/articles/ignoring-files # please do not open a pull request to add something created by your editor or tools -# github/gitignore/go.gitignore +# github/gitignore/Go.gitignore # Binaries for programs and plugins *.exe *.exe~ @@ -17,6 +17,9 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out +# Dependency directories (remove the comment below to include it) +vendor/ + # Compiled Object files, Static and Dynamic libs (Shared Objects) *.o *.a @@ -40,11 +43,7 @@ _cgo_export.* _testmain.go # profile -*.prof *.pprof # coverage coverage.* - -# modules -vendor/* diff --git a/.golangci.yml b/.golangci.yml index cad4b7e..8a1e690 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -20,7 +20,7 @@ linters-settings: gofmt: simplify: true goimports: - local-prefixes: github.com/go-language-server/uri + local-prefixes: go.lsp.dev/uri golint: min-confidence: 0.3 govet: diff --git a/README.md b/README.md index 9252b95..5d8909c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Package uri is an implementation of the URI Uniform Resource Identifier(RFC3986) [circleci]: https://app.circleci.com/pipelines/github/go-language-server/uri -[pkg.go.dev]: https://pkg.go.dev/github.com/go-language-server/uri +[pkg.go.dev]: https://pkg.go.dev/go.lsp.dev/uri [module]: https://github.com/go-language-server/uri/releases/latest [codecov]: https://codecov.io/gh/go-language-server/uri [ga]: https://github.com/go-language-server/uri diff --git a/doc.go b/doc.go index 3be05c2..d0cf185 100644 --- a/doc.go +++ b/doc.go @@ -3,4 +3,4 @@ // license that can be found in the LICENSE file. // Package uri is an implementation of the URI Uniform Resource Identifier(RFC3986) specification for Go. -package uri +package uri // import "go.lsp.dev/uri" diff --git a/go.mod b/go.mod index bf9ce04..3c5a34f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/go-language-server/uri +module go.lsp.dev/uri go 1.13