Add Clumper structure

master
Nick Krichevsky 2019-03-26 20:58:09 -04:00
parent d88bf493de
commit 2afc801859
1 changed files with 10 additions and 0 deletions

10
handler/paste/clumper.go Normal file
View File

@ -0,0 +1,10 @@
package paste
import "github.com/ollien/updown/repository"
// Clumper holds a number of pasters, and the associated pasters.
// Note that the indices in Clump.Pastes are not guarenteed to match that of Pasters
type Clumper struct {
Clump repository.Clump
Pasters []Paster
}