code: func (s StringSlice) Value() (driver.Value, error) {
  	// string escapes.
  	// \ => \\\
  	// " => \"
  	for i, elem := range s {
  		s[i] = `"` + strings.Replace(strings.Replace(elem, `\`, `\\\`, -1), `"`, `\"`, -1) + `"`
  	}
  	return "{" + strings.Join(s, ",") + "}", nil
  }
docs: // Value converts to a slice of strings. See:
  // http://www.postgresql.org/docs/9.1/static/arrays.html#ARRAYS-IO