1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-24 08:22:21 +02:00

Dropped Go 1.4

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2016-01-29 09:16:05 -08:00
parent 57399453be
commit 4f577981b3
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
language: go
go:
- 1.4
- 1.5
- tip
before_install:
- go get github.com/modocache/gover

View File

@ -7,6 +7,7 @@ import (
"fmt"
"io"
"net/http"
"path"
"path/filepath"
"reflect"
"runtime"
@ -423,7 +424,7 @@ func (e *Echo) serveFile(dir, file string, c Context) (err error) {
d := f
// Index file
file = filepath.Join(file, indexPage)
file = path.Join(file, indexPage)
f, err = fs.Open(file)
if err != nil {
if e.autoIndex {