admin-dashboard-backend/modules/cache/grouptaskstepsinput.go

14 lines
406 B
Go

package cache
import (
"janex/admin-dashboard-backend/modules/structs"
"sync"
)
/*
This stores the inputs that a user makes when typing into the input fields at a Group Task step.
This storage is necessary so that other users when opening this GroupTask or reloading the browser receive the data entered by the one user.
*/
var groupTaskStepsInputs []structs.GroupTaskStepsInput
var gtsi sync.RWMutex