From c5fd2d4d2b4df823cd43c0f4b5d683668894d3e0 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 24 May 2018 22:57:40 -0400 Subject: [PATCH] go-ntlm: add go.mod This file is used by vgo (go get -u golang.org/x/vgo) and will be understood by Go 1.11 and later too. Normally a go.mod file lists required dependencies of a module (think repository), but this module has no required dependencies, so the file only gives the module path. Defining the module path ensures that clients import the package under its canonical name, not under alternate casings such as import "github.com/thomsonREUTERSeIkOn/go-ntlm" which would otherwise work (since GitHub answers to that path). Having a go.mod file also makes it possible to work on this repository outside GOPATH when using vgo or Go 1.11. That is, the go.mod file makes it possible to git clone https://github.com/ThomsonReutersEikon/go-ntlm cd go-ntlm vgo build ./... vgo test ./... from anywhere, not just inside GOPATH. --- go.mod | 1 + 1 file changed, 1 insertion(+) create mode 100644 go.mod diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..00ec7d6 --- /dev/null +++ b/go.mod @@ -0,0 +1 @@ +module github.com/ThomsonReutersEikon/go-ntlm