How do I pass type as a parameter of function in go?

后端 未结 0 337
失恋的感觉
失恋的感觉 2020-12-29 20:53

so I have a struct

type Book struct {
    Name   string
    Author string
}

and here is the code w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题