Move darkstorm_backend to just backend
Added MongoDB instances of DB tables Updated some DB interfaces Added logging to count cleanup
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package backend
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
func TestStuff(t *testing.T) {
|
||||
for i := 0; i < 50; i++ {
|
||||
go func() {
|
||||
id, err := uuid.NewV7()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
fmt.Println(id.String())
|
||||
}()
|
||||
}
|
||||
time.Sleep(3 * time.Second)
|
||||
t.Fatal("end")
|
||||
}
|
||||
Reference in New Issue
Block a user