Fix minor doc thingies

This commit is contained in:
Hamcha 2019-05-31 10:14:13 +02:00
parent da2a2ad914
commit 58dd767913
Signed by: hamcha
GPG key ID: A40413D21021EAEE

View file

@ -1,6 +1,8 @@
package draft // import "git.fromouter.space/mcg/draft" 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 type Pack []Card
// Card is a single card // Card is a single card
@ -31,7 +33,7 @@ type AlternateProvider struct {
Provider CardProvider 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 { func MakePack(set Set) Pack {
schema := set.PackSchema() schema := set.PackSchema()
pack := make(Pack, 0) pack := make(Pack, 0)