From 4bb4c73498cbc5238bb0ffdf3c4c2f7373e5264b Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Mon, 3 Aug 2015 14:18:34 -0400 Subject: [PATCH] Make godeps restore/save clean ``` godep restore rm -rf Godeps godep save ./... ``` Will, after this change, have no diff. --- Godeps/Godeps.json | 12 ++++++++---- .../github.com/codegangsta/negroni/negroni_test.go | 2 +- .../garyburd/redigo/internal/commandinfo.go | 2 +- .../src/github.com/garyburd/redigo/redis/doc.go | 2 +- .../shurcooL/sanitized_anchor_name/main.go | 2 +- .../src/golang.org/x/exp/inotify/inotify_linux.go | 2 +- .../src/golang.org/x/net/context/context.go | 2 +- .../src/golang.org/x/net/html/atom/atom.go | 2 +- .../src/golang.org/x/net/html/charset/charset.go | 2 +- Godeps/_workspace/src/golang.org/x/net/html/doc.go | 2 +- .../src/golang.org/x/net/websocket/websocket.go | 2 +- 11 files changed, 18 insertions(+), 14 deletions(-) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 2cf0026a24..6889baba1b 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -21,7 +21,7 @@ }, { "ImportPath": "code.google.com/p/google-api-go-client/compute/v1", - "Comment": "release-96", + "Comment": "release-105", "Rev": "98c78185197025f935947caac56a7b6d022f89d2" }, { @@ -31,7 +31,7 @@ }, { "ImportPath": "code.google.com/p/google-api-go-client/googleapi", - "Comment": "release-96", + "Comment": "release-105", "Rev": "98c78185197025f935947caac56a7b6d022f89d2" }, { @@ -212,7 +212,6 @@ }, { "ImportPath": "github.com/fsouza/go-dockerclient", - "Comment": "0.2.1-532-g2f1ad24", "Rev": "2f1ad24900b2777139b5becee93eb63a75b00617" }, { @@ -440,7 +439,7 @@ }, { "ImportPath": "github.com/onsi/gomega", - "Comment": "v1.0-28-g8adf9e1730c5", + "Comment": "v1.0-28-g8adf9e1", "Rev": "8adf9e1730c55cdc590de7d49766cb2acc88d8f2" }, { @@ -501,6 +500,7 @@ }, { "ImportPath": "github.com/spf13/pflag", + "Comment": "v0.0.1-44-gb91b2a9", "Rev": "b91b2a94780f4e6b4d3b0c12fd9b5f4b05b1aa45" }, { @@ -509,14 +509,17 @@ }, { "ImportPath": "github.com/stretchr/testify/assert", + "Comment": "v1.0-17-g089c718", "Rev": "089c7181b8c728499929ff09b62d3fdd8df8adff" }, { "ImportPath": "github.com/stretchr/testify/mock", + "Comment": "v1.0-17-g089c718", "Rev": "089c7181b8c728499929ff09b62d3fdd8df8adff" }, { "ImportPath": "github.com/stretchr/testify/require", + "Comment": "v1.0-17-g089c718", "Rev": "089c7181b8c728499929ff09b62d3fdd8df8adff" }, { @@ -570,6 +573,7 @@ }, { "ImportPath": "gopkg.in/natefinch/lumberjack.v2", + "Comment": "v1.0-16-g20b71e5", "Rev": "20b71e5b60d756d3d2f80def009790325acc2b23" }, { diff --git a/Godeps/_workspace/src/github.com/codegangsta/negroni/negroni_test.go b/Godeps/_workspace/src/github.com/codegangsta/negroni/negroni_test.go index 0f6607a3b0..9fac008561 100644 --- a/Godeps/_workspace/src/github.com/codegangsta/negroni/negroni_test.go +++ b/Godeps/_workspace/src/github.com/codegangsta/negroni/negroni_test.go @@ -72,4 +72,4 @@ func TestHandlers(t *testing.T) { // exactly the same as the one that was registered earlier handlers[0].ServeHTTP(response, (*http.Request)(nil), nil) expect(t, response.Code, http.StatusOK) -} \ No newline at end of file +} diff --git a/Godeps/_workspace/src/github.com/garyburd/redigo/internal/commandinfo.go b/Godeps/_workspace/src/github.com/garyburd/redigo/internal/commandinfo.go index 7ad1ade571..ce78eff6fd 100644 --- a/Godeps/_workspace/src/github.com/garyburd/redigo/internal/commandinfo.go +++ b/Godeps/_workspace/src/github.com/garyburd/redigo/internal/commandinfo.go @@ -12,7 +12,7 @@ // License for the specific language governing permissions and limitations // under the License. -package internal // import "github.com/garyburd/redigo/internal" +package internal import ( "strings" diff --git a/Godeps/_workspace/src/github.com/garyburd/redigo/redis/doc.go b/Godeps/_workspace/src/github.com/garyburd/redigo/redis/doc.go index a5cd454af5..1ae6f0cc2a 100644 --- a/Godeps/_workspace/src/github.com/garyburd/redigo/redis/doc.go +++ b/Godeps/_workspace/src/github.com/garyburd/redigo/redis/doc.go @@ -166,4 +166,4 @@ // if _, err := redis.Scan(reply, &value1, &value2); err != nil { // // handle error // } -package redis // import "github.com/garyburd/redigo/redis" +package redis diff --git a/Godeps/_workspace/src/github.com/shurcooL/sanitized_anchor_name/main.go b/Godeps/_workspace/src/github.com/shurcooL/sanitized_anchor_name/main.go index 72a8753509..6baae23b50 100644 --- a/Godeps/_workspace/src/github.com/shurcooL/sanitized_anchor_name/main.go +++ b/Godeps/_workspace/src/github.com/shurcooL/sanitized_anchor_name/main.go @@ -5,7 +5,7 @@ // // At this time, it does not try to ensure that generated anchor names // are unique, that responsibility falls on the caller. -package sanitized_anchor_name // import "github.com/shurcooL/sanitized_anchor_name" +package sanitized_anchor_name import "unicode" diff --git a/Godeps/_workspace/src/golang.org/x/exp/inotify/inotify_linux.go b/Godeps/_workspace/src/golang.org/x/exp/inotify/inotify_linux.go index 5c2f858cc3..41ac558382 100644 --- a/Godeps/_workspace/src/golang.org/x/exp/inotify/inotify_linux.go +++ b/Godeps/_workspace/src/golang.org/x/exp/inotify/inotify_linux.go @@ -24,7 +24,7 @@ Example: } */ -package inotify // import "golang.org/x/exp/inotify" +package inotify import ( "errors" diff --git a/Godeps/_workspace/src/golang.org/x/net/context/context.go b/Godeps/_workspace/src/golang.org/x/net/context/context.go index 490245de9e..66aff7cb4a 100644 --- a/Godeps/_workspace/src/golang.org/x/net/context/context.go +++ b/Godeps/_workspace/src/golang.org/x/net/context/context.go @@ -34,7 +34,7 @@ // // See http://blog.golang.org/context for example code for a server that uses // Contexts. -package context // import "golang.org/x/net/context" +package context import ( "errors" diff --git a/Godeps/_workspace/src/golang.org/x/net/html/atom/atom.go b/Godeps/_workspace/src/golang.org/x/net/html/atom/atom.go index cd0a8ac154..227404bdaf 100644 --- a/Godeps/_workspace/src/golang.org/x/net/html/atom/atom.go +++ b/Godeps/_workspace/src/golang.org/x/net/html/atom/atom.go @@ -15,7 +15,7 @@ // whether atom.H1 < atom.H2 may also change. The codes are not guaranteed to // be dense. The only guarantees are that e.g. looking up "div" will yield // atom.Div, calling atom.Div.String will return "div", and atom.Div != 0. -package atom // import "golang.org/x/net/html/atom" +package atom // Atom is an integer code for a string. The zero value maps to "". type Atom uint32 diff --git a/Godeps/_workspace/src/golang.org/x/net/html/charset/charset.go b/Godeps/_workspace/src/golang.org/x/net/html/charset/charset.go index 2e5f9ba2c5..b19f83b727 100644 --- a/Godeps/_workspace/src/golang.org/x/net/html/charset/charset.go +++ b/Godeps/_workspace/src/golang.org/x/net/html/charset/charset.go @@ -6,7 +6,7 @@ // // The mapping from encoding labels to encodings is defined at // http://encoding.spec.whatwg.org. -package charset // import "golang.org/x/net/html/charset" +package charset import ( "bytes" diff --git a/Godeps/_workspace/src/golang.org/x/net/html/doc.go b/Godeps/_workspace/src/golang.org/x/net/html/doc.go index 32379a3246..fac0f54e78 100644 --- a/Godeps/_workspace/src/golang.org/x/net/html/doc.go +++ b/Godeps/_workspace/src/golang.org/x/net/html/doc.go @@ -93,7 +93,7 @@ The relevant specifications include: http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html and http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html */ -package html // import "golang.org/x/net/html" +package html // The tokenization algorithm implemented by this package is not a line-by-line // transliteration of the relatively verbose state-machine in the WHATWG diff --git a/Godeps/_workspace/src/golang.org/x/net/websocket/websocket.go b/Godeps/_workspace/src/golang.org/x/net/websocket/websocket.go index b8d2e6d174..0f4917bf7e 100644 --- a/Godeps/_workspace/src/golang.org/x/net/websocket/websocket.go +++ b/Godeps/_workspace/src/golang.org/x/net/websocket/websocket.go @@ -4,7 +4,7 @@ // Package websocket implements a client and server for the WebSocket protocol // as specified in RFC 6455. -package websocket // import "golang.org/x/net/websocket" +package websocket import ( "bufio"