摘要:
Java语言跟Go语言的函数比较 Go语言 func funcName(input type1,input type2,......)(output type1,output type2,......){ //do something ..... return value1,value2.....} 阅读全文
摘要:
Java语言与Go语言的switch对比 Go语言 switch str { case "yes" : do something ... case "no" do something ... default : do something ...} Java 语言 switch (str){ case 阅读全文