Short Declairation
Assuming x is declared and y is not declared, which clauses below are correct?
x, _ := f()
x, _ = f()
x, y := f()
x, y = f()
Answer
x, _ := f() //incorrect
x, _ = f() //correct
x, y := f() //correct
x, y = f() //incorrect
本文档使用 BookStack 构建