code: func toSlice(val []interface{}) string {
  	elems := make([]string, len(val))
  	for i, v := range val {
  		elems[i] = fmt.Sprintf("%#v", v)
  	}
  	return fmt.Sprintf("[]interface{}{%s}", strings.Join(elems, ", "))
  }
docs: // toSlice returns Go code that represents the given slice.