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
1 changed files with 4 additions and 2 deletions

View File

@ -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)