refactor and to go mod

This commit is contained in:
YouROK
2021-02-18 16:56:55 +03:00
parent 0e49a98626
commit 94f212fa75
50 changed files with 13 additions and 29 deletions

22
deps.sh
View File

@@ -1,22 +1,4 @@
#!/bin/bash
export GOPATH="${PWD}"
export GO111MODULE=auto
go get -v github.com/pkg/browser
go get -v github.com/alexflint/go-arg
go get -v golang.org/x/time/rate
go get -v github.com/anacrolix/dht
go get -v github.com/anacrolix/missinggo/httptoo
go get -v github.com/anacrolix/torrent
go get -v github.com/anacrolix/torrent/iplist
go get -v github.com/anacrolix/torrent/metainfo
go get -v github.com/anacrolix/utp
go get -u github.com/gin-gonic/gin
go get -v github.com/pion/webrtc/v2
go get -v go.etcd.io/bbolt
ln -s . src/github.com/pion/webrtc/v2
go get -v github.com/pion/webrtc/v2
go get -v github.com/gin-contrib/cors
cd server
go mod tidy

View File

@@ -9,6 +9,7 @@ import (
"github.com/alexflint/go-arg"
"github.com/pkg/browser"
"server"
"server/log"
"server/settings"

View File

@@ -0,0 +1,3 @@
package version
const Version = "1.2.80_beta7.2"

View File

@@ -5,6 +5,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/pkg/errors"
sets "server/settings"
"server/torr"
)

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +0,0 @@
package version
const Version = "1.2.80_beta7.1"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long