format part 2
This commit is contained in:
parent
5430cd0fed
commit
57f3d98b91
|
@ -3,14 +3,15 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"strings"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type Bags map[string][]Bag
|
||||
type Bag struct {
|
||||
Count int
|
||||
Color string}
|
||||
Color string
|
||||
}
|
||||
|
||||
// recursively look for a shiny gold bag
|
||||
func HasShinyGold(bags Bags, b string, c []Bag) bool {
|
||||
|
|
Loading…
Reference in New Issue