Files
darkstorm-server/internal/backend/darkstorm_test.go
T
Caleb Gardner 28654e237e Move darkstorm_backend to just backend
Added MongoDB instances of DB tables
Updated some DB interfaces
Added logging to count cleanup
2024-06-12 03:31:09 -05:00

24 lines
310 B
Go

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")
}