format part 2

This commit is contained in:
Nico 2020-12-07 12:54:31 +00:00
parent 5430cd0fed
commit 57f3d98b91
1 changed files with 22 additions and 21 deletions

View File

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