code: func (m PinMap) ToSlice() PinSlice {
  	s := make(PinSlice, 0, len(m))
  	pkgs := make(sort.StringSlice, 0, len(m))
  	for k := range m {
  		pkgs = append(pkgs, k)
  	}
  	pkgs.Sort()
  	for _, pkg := range pkgs {
  		s = append(s, Pin{pkg, m[pkg]})
  	}
  	return s
  }
docs: // ToSlice converts the PinMap to a PinSlice.