# Functions

GetCleanPath returns cleaned u.Path.
HasSameOrigin reports whether u1 and u2 have the same nonempty Scheme and Host.
IsDir reports whether u represents a directory.
MustParse is like url.Parse but panics on a parse error.