func GenOracle(u *URL) (string, error) {
	// create dsn
	dsn := u.Host + u.Path

	// build user/pass
	var un string
	if u.User != nil {
		if un = u.User.Username(); len(un) > 0 {
			if up, ok := u.User.Password(); ok {
				un += "/" + up
			}
		}
	}

	return un + "@" + dsn, nil
}
func GenOracle(u *URL) (string, error) {
	
	dsn := u.Host + u.Path

	
	var un string
	if u.User != nil {
		if un = u.User.Username(); len(un) > 0 {
			if up, ok := u.User.Password(); ok {
				un += "/" + up
			}
		}
	}

	return un + "@" + dsn, nil
}
func GenOracle ( u * URL ) ( string , error ) { // create dsn dsn := u . Host + u . Path // build user/pass var un string if u . User != nil { if un = u . User . Username ( ) ; len ( un ) > 0 { if up , ok := u . User . Password ( ) ; ok { un += " " + up } } } return un + " " + dsn , nil }
// GenOracle generates a ora DSN from the passed URL.
GenOracle generates a ora DSN from the passed URL .