code: func FromMap(m interface{}) (slice []MapItem) {
  	mapValue := reflect.ValueOf(m)
  	for _, key := range mapValue.MapKeys() {
  		slice = append(slice, MapItem{key.Interface(), mapValue.MapIndex(key).Interface()})
  	}
  	return
  }
docs: // Creates a []struct{Key K; Value V} for map[K]V.