mirror of
https://github.com/arnaucube/gogame.git
synced 2026-02-07 03:26:39 +01:00
add jwt middleware
This commit is contained in:
@@ -1,14 +1,6 @@
|
||||
package gamesrv
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/arnaucube/gogame/database"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"gopkg.in/mgo.v2/bson"
|
||||
)
|
||||
|
||||
/*
|
||||
func TestCreatePlanet(t *testing.T) {
|
||||
db, err := database.New("127.0.0.1:27017", "gogametests")
|
||||
assert.Nil(t, err)
|
||||
@@ -19,3 +11,4 @@ func TestCreatePlanet(t *testing.T) {
|
||||
fmt.Println(solarSystem)
|
||||
fmt.Println(planet)
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user