Fix minor doc thingies
This commit is contained in:
parent
da2a2ad914
commit
58dd767913
1 changed files with 4 additions and 2 deletions
6
pack.go
6
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)
|
||||
|
|
Loading…
Reference in a new issue