This commit is contained in:
nikk gitanes
2023-02-18 23:23:11 +03:00
parent ec4deb8afe
commit 7822157ff2
22 changed files with 62 additions and 69 deletions

View File

@@ -6,12 +6,13 @@ import (
"fmt"
"os"
"path/filepath"
"server/rutor/models"
"testing"
"server/rutor/models"
)
func TestParseChannel(t *testing.T) {
var channel = make(chan *models.TorrentDetails, 0)
channel := make(chan *models.TorrentDetails, 0)
var ftors []*models.TorrentDetails
go func() {
for torr := range channel {