diff --git a/backend/FileHandle/FileSave.go b/backend/FileHandle/FileSave.go index 6df20fe..9c15b54 100644 --- a/backend/FileHandle/FileSave.go +++ b/backend/FileHandle/FileSave.go @@ -6,7 +6,7 @@ import ( "log" "os" - datapack "www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web/DataPack" + datapack "Robot_Monitor_Web/DataPack" ) func jsonLoad(filename string, v interface{}) { diff --git a/backend/SerialHandle/SerialHandle.go b/backend/SerialHandle/SerialHandle.go index 4d63b17..246ccff 100644 --- a/backend/SerialHandle/SerialHandle.go +++ b/backend/SerialHandle/SerialHandle.go @@ -7,7 +7,7 @@ import ( "strings" "time" - datapack "www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web/DataPack" + datapack "Robot_Monitor_Web/DataPack" "go.bug.st/serial.v1" ) diff --git a/backend/SerialHandle/TestPort.go b/backend/SerialHandle/TestPort.go index 819b6f9..6b13fb7 100644 --- a/backend/SerialHandle/TestPort.go +++ b/backend/SerialHandle/TestPort.go @@ -8,7 +8,7 @@ import ( "go.bug.st/serial.v1" - datapack "www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web/DataPack" + datapack "Robot_Monitor_Web/DataPack" ) type testPort struct { diff --git a/backend/WebHandle/HandleFunc.go b/backend/WebHandle/HandleFunc.go index 9a34fba..f3ce552 100644 --- a/backend/WebHandle/HandleFunc.go +++ b/backend/WebHandle/HandleFunc.go @@ -10,10 +10,10 @@ import ( "strconv" "strings" - datapack "www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web/DataPack" - filehandle "www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web/FileHandle" + datapack "Robot_Monitor_Web/DataPack" + filehandle "Robot_Monitor_Web/FileHandle" - serialhandle "www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web/SerialHandle" + serialhandle "Robot_Monitor_Web/SerialHandle" ) func currentSerialPortWebHandler(w http.ResponseWriter, _ *http.Request) { diff --git a/backend/go.mod b/backend/go.mod index 462cfcf..3891255 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,11 +1,11 @@ -module www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web +module Robot_Monitor_Web -go 1.13 +go 1.14 require ( github.com/creack/goselect v0.1.1 // indirect github.com/elazarl/go-bindata-assetfs v1.0.0 github.com/gorilla/websocket v1.4.2 go.bug.st/serial.v1 v0.0.0-20191202182710-24a6610f0541 - golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25 // indirect + golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 // indirect ) diff --git a/backend/go.sum b/backend/go.sum index f55cb39..42d3e0e 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -1,12 +1,9 @@ github.com/creack/goselect v0.1.1 h1:tiSSgKE1eJtxs1h/VgGQWuXUP0YS4CDIFMp6vaI1ls0= github.com/creack/goselect v0.1.1/go.mod h1:a/NhLweNvqIYMuxcMOuWY516Cimucms3DglDzQP3hKY= -github.com/elazarl/go-bindata-assetfs v1.0.0 h1:G/bYguwHIzWq9ZoyUQqrjTmJbbYn3j3CKKpKinvZLFk= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= go.bug.st/serial.v1 v0.0.0-20191202182710-24a6610f0541 h1:eQfoPfT+gNSh63t/oKanQlZyKgblRa/LMZRPIT+MHzA= go.bug.st/serial.v1 v0.0.0-20191202182710-24a6610f0541/go.mod h1:dRSl/CVCTf56CkXgJMDOdSwNfo2g1orOGE/gBGdvjZw= -golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3 h1:5B6i6EAiSYyejWfvc5Rc9BbI3rzIsrrXfAQBWnYfn+w= -golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25 h1:OKbAoGs4fGM5cPLlVQLZGYkFC8OnOfgo6tt0Smf9XhM= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 h1:DYfZAGf2WMFjMxbgTjaC+2HC7NkNAQs+6Q8b9WEB/F4= +golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/backend/main.go b/backend/main.go index 6f8fb0a..be78cc9 100644 --- a/backend/main.go +++ b/backend/main.go @@ -10,9 +10,9 @@ import ( "strconv" "time" - filehandle "www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web/FileHandle" - serialhandle "www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web/SerialHandle" - webhandle "www.scut-robotlab.cn/git/M3chD09/Robot_Monitor_Web/WebHandle" + filehandle "Robot_Monitor_Web/FileHandle" + serialhandle "Robot_Monitor_Web/SerialHandle" + webhandle "Robot_Monitor_Web/WebHandle" ) func main() {