Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions request-example.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const maxSymlinkFollows = 5

var errTooManySymlinks = errors.New("too many symbolic links")

// InMemHandler returns a Hanlders object with the test handlers.
// InMemHandler returns a Handlers object with the test handlers.
func InMemHandler() Handlers {
root := &root{
rootFile: &memFile{name: "/", modtime: time.Now(), isdir: true},
Expand Down Expand Up @@ -449,7 +449,7 @@ func (fs *root) Lstat(r *Request) (ListerAt, error) {
return listerat{file}, nil
}

// In memory file-system-y thing that the Hanlders live on
// In memory file-system-y thing that the Handlers live on
type root struct {
rootFile *memFile
mockErr error
Expand Down