Update dependencies, enable pruning for vendor/

So, `dep` got an nice new feature to remove tests and non-go files from
`vendor/`, and this brings the size of the vendor directory from ~300MiB
down to ~20MiB. We don that now.
This commit is contained in:
Alexander Neumann
2018-08-01 21:32:15 +02:00
parent 3422c1ca83
commit bff635bc5f
6741 changed files with 26940 additions and 4902031 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ import (
"time"
)
// InMemHandler returns a Hanlders object with the test handlers
// InMemHandler returns a Hanlders object with the test handlers.
func InMemHandler() Handlers {
root := &root{
files: make(map[string]*memFile),
@@ -24,7 +24,7 @@ func InMemHandler() Handlers {
return Handlers{root, root, root, root}
}
// Handlers
// Example Handlers
func (fs *root) Fileread(r *Request) (io.ReaderAt, error) {
if fs.mockErr != nil {
return nil, fs.mockErr