How to temporarily add additional fields to golang
This article mainly introduces golang how to temporarily add additional fields, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Temporarily add additional fields
Type User struct {Email string `json: "email" `Password string `json: "password" `/ / many more fields... } Thank you for reading this article carefully. I hope the article "how to temporarily add additional fields to golang" shared by the editor will be helpful to you. At the same time, I also hope you will support us and follow the industry information channel. More related knowledge is waiting for you to learn!