diff --git a/pack.go b/pack.go index cc4c3ab..113d44b 100644 --- a/pack.go +++ b/pack.go @@ -1,6 +1,8 @@ package draft // import "git.fromouter.space/mcg/draft" -import "math/rand" // Pack is a collection of cards from a booster pack +import "math/rand" + +// Pack is a collection of cards from a booster pack type Pack []Card // Card is a single card @@ -31,7 +33,7 @@ type AlternateProvider struct { Provider CardProvider } -// MakePack makes a booster pack from a given schema +// MakePack makes a booster pack from a given set func MakePack(set Set) Pack { schema := set.PackSchema() pack := make(Pack, 0)