Browse Source

github.com/sporestack -> git.sporestack.com/SporeStack

master
Teran McKinney 9 months ago
parent
commit
a702ce35eb
  1. 2
      cmd/settlers/main.go
  2. 2
      cmd/settlersd/add.go
  3. 2
      cmd/settlersd/balance.go
  4. 2
      cmd/settlersd/cmd_test.go
  5. 2
      cmd/settlersd/configuration.go
  6. 2
      cmd/settlersd/deposit.go
  7. 2
      cmd/settlersd/deposit_only_token_enabled.go
  8. 2
      cmd/settlersd/enable.go
  9. 2
      cmd/settlersd/enable_test.go
  10. 2
      cmd/settlersd/subtract.go
  11. 2
      go.mod
  12. 4
      go.sum

2
cmd/settlers/main.go

@ -5,7 +5,7 @@ import (
"os"
"strconv"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
func usage() {

2
cmd/settlersd/add.go

@ -5,7 +5,7 @@ import (
"net/http"
"github.com/bvinc/go-sqlite-lite/sqlite3"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
func add(token string, amount uint64, db *sqlite3.Conn) (userErr, err error) {

2
cmd/settlersd/balance.go

@ -6,7 +6,7 @@ import (
"strings"
"github.com/bvinc/go-sqlite-lite/sqlite3"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
func balance(token string, db *sqlite3.Conn) (amount uint64, userErr, err error) {

2
cmd/settlersd/cmd_test.go

@ -4,7 +4,7 @@ import (
"log"
"testing"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
const testAdminToken = "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"

2
cmd/settlersd/configuration.go

@ -5,7 +5,7 @@ import (
"encoding/json"
"io/ioutil"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
// SqliteFilename of :memory: uses an in-memory database.

2
cmd/settlersd/deposit.go

@ -5,7 +5,7 @@ import (
"net/http"
"github.com/bvinc/go-sqlite-lite/sqlite3"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
func deposit(depositOnlyToken string, amount uint64, db *sqlite3.Conn) (userErr, err error) {

2
cmd/settlersd/deposit_only_token_enabled.go

@ -5,7 +5,7 @@ import (
"strings"
"github.com/bvinc/go-sqlite-lite/sqlite3"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
func depositOnlyTokenEnabled(depositOnlyToken string, db *sqlite3.Conn) (userErr, err error) {

2
cmd/settlersd/enable.go

@ -5,7 +5,7 @@ import (
"net/http"
"github.com/bvinc/go-sqlite-lite/sqlite3"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
const startingBalance = 0

2
cmd/settlersd/enable_test.go

@ -4,7 +4,7 @@ import (
"log"
"testing"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
func TestEnable(t *testing.T) {

2
cmd/settlersd/subtract.go

@ -5,7 +5,7 @@ import (
"net/http"
"github.com/bvinc/go-sqlite-lite/sqlite3"
"github.com/sporestack/settlers"
"git.sporestack.com/SporeStack/settlers"
)
func subtract(token string, amount uint64, db *sqlite3.Conn) (userErr, err error) {

2
go.mod

@ -3,8 +3,8 @@ module settlers
go 1.13
require (
git.sporestack.com/SporeStack/settlers v0.0.0-20191211203014-16d2d0def05c
github.com/bvinc/go-sqlite-lite v0.6.1
github.com/sporestack/settlers v0.0.0-20191211203014-16d2d0def05c
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553
gopkg.in/alexcesaro/statsd.v2 v2.0.0
)

4
go.sum

@ -1,7 +1,7 @@
git.sporestack.com/SporeStack/settlers v0.0.0-20191211203014-16d2d0def05c h1:EsqzYiMO6vdHcoYaGBWGELDYWxfRu2RgYShSCm5WOZ0=
git.sporestack.com/SporeStack/settlers v0.0.0-20191211203014-16d2d0def05c/go.mod h1:7xFX+IE2Ol+9+ZejbuzuMVcZcLlKFT3N3Lh2v3q35yE=
github.com/bvinc/go-sqlite-lite v0.6.1 h1:JU8Rz5YAOZQiU3WEulKF084wfXpytRiqD2IaW2QjPz4=
github.com/bvinc/go-sqlite-lite v0.6.1/go.mod h1:2GiE60NUdb0aNhDdY+LXgrqAVDpi2Ijc6dB6ZMp9x6s=
github.com/sporestack/settlers v0.0.0-20191211203014-16d2d0def05c h1:/Ws+xPs7YtUXRhk6s5/kHQMTXTxvIlvoLTMSrQWtgmg=
github.com/sporestack/settlers v0.0.0-20191211203014-16d2d0def05c/go.mod h1:AEVTqcfgipe2EuKrMn2Ycz7PffMVKxHP5GTxLF9gGEw=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 h1:efeOvDhwQ29Dj3SdAV/MJf8oukgn+8D8WgaCaRMchF8=
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=

Loading…
Cancel
Save