我有一個簡單的問題 -當方法返回 2 個值(val 和 error)時,我可以使用單值賦值嗎?resp := http.Get("http://www.google.com/")
我可以對返回 2 個參數(shù)的方法使用單個變量嗎
慕碼人2483693
2021-12-20 11:00:49