func Ext(path string) string {
	for i := len(path) - 1; i >= 0 && path[i] != '/'; i-- {
		if path[i] == '.' {
			return path[i:]
		}
	}
	return ""
}
// Ext returns the file name extension used by path.
// The extension is the suffix beginning at the final dot
// in the final slash-separated element of path;
// it is empty if there is no dot.
Ext returns the file name extension used by path.
The extension is the suffix beginning at the final dot
in the final slash-separated element of path;
it is empty if there is no dot.
// Ext returns the file name extension used by path . // The extension is the suffix beginning at the final dot // in the final slash - separated element of path ; // it is empty if there is no dot .
func Ext(path string) string {
	for i := len(path) - 1; i >= 0 && path[i] != '/'; i-- {
		if path[i] == '.' {
			return path[i:]
		}
	}
	return ""
}
func Ext ( path string ) string { for i := len ( path ) - 1 ; i >= 0 && path [ i ] != '/' ; i -- { if path [ i ] == '.' { return path [ i : ] } } return " " }
Ext returns the file name extension used by path.
Ext returns the file name extension used by path .