go语言中定义一个struct后,如何把一个变量的值传入

useradmin · 2017-12-25 06:43:11 · 1843 次点击
var ps Personalinformation_send
ps.total += 1
#1
更多评论

没看懂你想怎么传入?解释得更详细些

#2

var total = 1 ps := Personalinformation_send{total:total}这样?

#3