From fd15d518c4e5c8951f4b7a36e202fc12e8d7afdd Mon Sep 17 00:00:00 2001 From: huanglifeng Date: Sat, 17 Mar 2018 00:21:30 +0800 Subject: [PATCH] fixed can not build problem --- Gopkg.lock | 117 ---------------------------------------------- Gopkg.toml | 2 +- realize.go | 4 +- realize/server.go | 2 +- realize_test.go | 2 +- 5 files changed, 5 insertions(+), 122 deletions(-) delete mode 100644 Gopkg.lock diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index f8dcb81..0000000 --- a/Gopkg.lock +++ /dev/null @@ -1,117 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - name = "github.com/dgrijalva/jwt-go" - packages = ["."] - revision = "dbeaa9332f19a944acb5736b4456cfcc02140e29" - version = "v3.1.0" - -[[projects]] - name = "github.com/fatih/color" - packages = ["."] - revision = "570b54cabe6b8eb0bc2dfce68d964677d63b5260" - version = "v1.5.0" - -[[projects]] - name = "github.com/fsnotify/fsnotify" - packages = ["."] - revision = "629574ca2a5df945712d3079857300b5e4da0236" - version = "v1.4.2" - -[[projects]] - name = "github.com/go-siris/siris" - packages = ["core/errors"] - revision = "d6bc3df4b216199bec985043ca6c3e5c00232fd5" - version = "v7.4.0" - -[[projects]] - name = "github.com/labstack/echo" - packages = [".","middleware"] - revision = "0473c51f1dbd83487effce00702571d19033a6e5" - version = "3.2.5" - -[[projects]] - name = "github.com/labstack/gommon" - packages = ["bytes","color","log","random"] - revision = "57409ada9da0f2afad6664c49502f8c50fbd8476" - version = "0.2.3" - -[[projects]] - name = "github.com/mattn/go-colorable" - packages = ["."] - revision = "167de6bfdfba052fa6b2d3664c8f5272e23c9072" - version = "v0.0.9" - -[[projects]] - name = "github.com/mattn/go-isatty" - packages = ["."] - revision = "0360b2af4f38e8d38c7fce2a9f4e702702d73a39" - version = "v0.0.3" - -[[projects]] - branch = "master" - name = "github.com/satori/go.uuid" - packages = ["."] - revision = "5bf94b69c6b68ee1b541973bb8e1144db23a194b" - -[[projects]] - name = "github.com/sirupsen/logrus" - packages = ["."] - revision = "d682213848ed68c0a260ca37d6dd5ace8423f5ba" - version = "v1.0.4" - -[[projects]] - name = "github.com/tockins/interact" - packages = ["."] - revision = "f8fb5795b5d713c41dab6771ffe1fdfdfd0c3285" - version = "1.1.1" - -[[projects]] - branch = "master" - name = "github.com/valyala/bytebufferpool" - packages = ["."] - revision = "e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7" - -[[projects]] - branch = "master" - name = "github.com/valyala/fasttemplate" - packages = ["."] - revision = "dcecefd839c4193db0d35b88ec65b4c12d360ab0" - -[[projects]] - branch = "master" - name = "golang.org/x/crypto" - packages = ["acme","acme/autocert","ssh/terminal"] - revision = "94eea52f7b742c7cbe0b03b22f0c4c8631ece122" - -[[projects]] - branch = "master" - name = "golang.org/x/net" - packages = ["websocket"] - revision = "d866cfc389cec985d6fda2859936a575a55a3ab6" - -[[projects]] - branch = "master" - name = "golang.org/x/sys" - packages = ["unix","windows"] - revision = "d5840adf789d732bc8b00f37b26ca956a7cc8e79" - -[[projects]] - branch = "v2" - name = "gopkg.in/urfave/cli.v2" - packages = ["."] - revision = "b2bf3c5abeb90da407891aecd1df2c5a1f6170c1" - -[[projects]] - branch = "v2" - name = "gopkg.in/yaml.v2" - packages = ["."] - revision = "287cf08546ab5e7e37d55a84f7ed3fd1db036de5" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - inputs-digest = "9a809196ffa8ff716d9be9eb2bc0342d0358b334fa50937a69a5c96bf60826f8" - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml index 26b5b64..a0e9380 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -41,7 +41,7 @@ version = "1.0.4" [[constraint]] - name = "github.com/tockins/interact" + name = "github.com/oxequa/interact" version = "1.1.1" [[constraint]] diff --git a/realize.go b/realize.go index 0fdd581..2895d3b 100644 --- a/realize.go +++ b/realize.go @@ -1,8 +1,8 @@ package main import ( - "github.com/tockins/interact" - "github.com/tockins/realize/realize" + "github.com/oxequa/interact" + "github.com/oxequa/realize/realize" "gopkg.in/urfave/cli.v2" "log" "os" diff --git a/realize/server.go b/realize/server.go index ae30627..cf59e10 100644 --- a/realize/server.go +++ b/realize/server.go @@ -146,7 +146,7 @@ func (s *Server) Start() (err error) { //websocket e.GET("/ws", s.projects) - e.HideBanner = true + // e.HideBanner = true e.Debug = false go func() { log.Println(s.Parent.Prefix("Started on " + string(s.Host) + ":" + strconv.Itoa(s.Port))) diff --git a/realize_test.go b/realize_test.go index 981590b..caf17fd 100644 --- a/realize_test.go +++ b/realize_test.go @@ -3,7 +3,7 @@ package main import ( "bytes" "errors" - "github.com/tockins/realize/realize" + "github.com/oxequa/realize/realize" "log" "strings" "testing"