Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
reset go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
M3chD09 committed May 21, 2020
1 parent f178e79 commit 7badd7e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 17 deletions.
2 changes: 1 addition & 1 deletion backend/FileHandle/FileSave.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}) {
Expand Down
2 changes: 1 addition & 1 deletion backend/SerialHandle/SerialHandle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion backend/SerialHandle/TestPort.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions backend/WebHandle/HandleFunc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions backend/go.mod
Original file line number Diff line number Diff line change
@@ -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
)
7 changes: 2 additions & 5 deletions backend/go.sum
Original file line number Diff line number Diff line change
@@ -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=
6 changes: 3 additions & 3 deletions backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7badd7e

Please sign in to comment.