Removed godep dependency.
Golang community are discuting a vendor aproach to go dependencies. This change will come as experimental in go 1.5. For now I am removing the godep dependency manager and using a vendor aproach. I still have to use the full path when importing dependencies, but when go1.5 released I just have to rename the imports and use a -vendor prefix when building the project.
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
"fmt"
|
||||
"sync"
|
||||
|
||||
log "github.com/golang/glog"
|
||||
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
|
||||
)
|
||||
|
||||
// An App
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@ import (
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
log "github.com/golang/glog"
|
||||
"github.com/gorilla/mux"
|
||||
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
|
||||
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux"
|
||||
|
||||
"github.com/dimiro1/ipe/utils"
|
||||
)
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
log "github.com/golang/glog"
|
||||
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
|
||||
)
|
||||
|
||||
// A Channel
|
||||
|
||||
+2
-2
@@ -7,8 +7,8 @@ package ipe
|
||||
import (
|
||||
"time"
|
||||
|
||||
log "github.com/golang/glog"
|
||||
"github.com/gorilla/websocket"
|
||||
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
|
||||
"github.com/dimiro1/ipe/vendor/github.com/gorilla/websocket"
|
||||
)
|
||||
|
||||
// An User Connection
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ package ipe
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
log "github.com/golang/glog"
|
||||
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
|
||||
)
|
||||
|
||||
// {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
// Check if the application is disabled
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
log "github.com/golang/glog"
|
||||
"github.com/gorilla/mux"
|
||||
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
|
||||
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
// An event consists of a name and data (typically JSON) which may be sent to all subscribers to a particular channel or channels.
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ import (
|
||||
_ "expvar"
|
||||
"net/http"
|
||||
|
||||
"github.com/goji/httpauth"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/dimiro1/ipe/vendor/github.com/goji/httpauth"
|
||||
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
// NewRouter is a function that returns a new configured Router
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/dimiro1/ipe/utils"
|
||||
log "github.com/golang/glog"
|
||||
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
|
||||
)
|
||||
|
||||
// A WebHook is sent as a HTTP POST request to the url which you specify.
|
||||
|
||||
+3
-3
@@ -12,9 +12,9 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
log "github.com/golang/glog"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/gorilla/websocket"
|
||||
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
|
||||
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux"
|
||||
"github.com/dimiro1/ipe/vendor/github.com/gorilla/websocket"
|
||||
|
||||
"github.com/dimiro1/ipe/utils"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user