您的位置 首页 golang

golang面试题12之map中的Value地址是可寻址的吗

 package main

type Student struct {
name string
}

func main() {
m := map[string]Student{"student": {"liuxiaojie"}}
m["student"].name = "wangxiaoli"
}

  

文章来源:智云一二三科技

文章标题:golang面试题12之map中的Value地址是可寻址的吗

文章地址:https://www.zhihuclub.com/101183.shtml

关于作者: 智云科技

热门文章

网站地图