...

Source file src/go.formulabun.club/discord/slashrecords/download/pending.go

Documentation: go.formulabun.club/discord/slashrecords/download

     1  package download
     2  
     3  import (
     4  	"github.com/bwmarrin/snowflake"
     5  	"go.formulabun.club/replays/store"
     6  )
     7  
     8  var pendingDownloads = make(map[snowflake.ID]store.Replay)
     9  
    10  func AddPendingDownload(id snowflake.ID, replay store.Replay) {
    11  	pendingDownloads[id] = replay
    12  }
    13  

View as plain text