func MakeFileURL(in string) string {
	in = filepath.ToSlash(in)
	// for windows at least should be <letter>: to be considered valid
	// so we cant do anything with less than that.
	if len(in) < 2 {
		return in
	}
	if string(in[1]) != ":" {
		return in
	}
	// since go 1.6 http client will only take this format.
	return "file://" + in
}
// MakeFileURL returns a proper file URL for the given path/directory
MakeFileURL returns a proper file URL for the given path/directory
// MakeFileURL returns a proper file URL for the given path / directory
func MakeFileURL(in string) string {
	in = filepath.ToSlash(in)
	if len(in) < 2 {
		return in
	}
	if string(in[1]) != ":" {
		return in
	}
	return "file://" + in
}
func MakeFileURL ( in string ) string { in = filepath . ToSlash ( in ) if len ( in ) < 2 { return in } if string ( in [ 1 ] ) != " " { return in } return " " + in }
MakeFileURL returns a proper file URL for the given path/directory
MakeFileURL returns a proper file URL for the given path / directory
// for windows at least should be <letter>: to be considered valid // so we cant do anything with less than that. // since go 1.6 http client will only take this format.