code: func ToChar(db XODB, v0 int64, v1 string, v2 int, v3 string, v4 float32, v5 string, v6 float64, v7 string, v8 time.Time, v9 string, v10 time.Time, v11 string, v12 *time.Duration, v13 string, v14 float64, v15 string) (string, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT pg_catalog.to_char($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16)`
  
  	// run query
  	var ret string
  	XOLog(sqlstr, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15)
  	err = db.QueryRow(sqlstr, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15).Scan(&ret)
  	if err != nil {
  		return "", err
  	}
  
  	return ret, nil
  }
docs: // ToChar calls the stored procedure 'pg_catalog.to_char(bigint, text, integer, text, real, text, double precision, text, timestamp without time zone, text, timestamp with time zone, text, interval, text, numeric, text) text' on db.