memories/chunk.go

15 lines
196 B
Go
Raw Normal View History

2023-04-04 01:44:11 +00:00
package main
type Chunk struct {
id int
done bool
notifs []chan bool
}
func NewChunk(id int) *Chunk {
return &Chunk{
id: id,
done: false,
notifs: make([]chan bool, 0),
}
}