Hello My Friend
axetroy opened this issue · 1 comments
axetroy commented
友情客窜 :)
interface Query$ {
[key: string]: string;
}
interface UrlJson$ {
protocol: string;
slashes: string;
auth: string;
username: string;
password: string;
host: string;
hostname: string;
port: number;
pathname: string;
hash: string;
href: string;
origin: string;
query: Query$;
}
export default function urljsonify(url: string):UrlJson$ {
// your code
}
WindomZ commented
这是很棒的参考,之前也有留意。我需要一个go的实现 :)