Golang Technique: Custom Struct Tag Like `json:"name"`
blog.devtrovert.com
Do you know the json:"name" tag in Go? You can actually create your own custom struct tags, just like it. This is a great way to make your code more flexible and easier to work with.
Golang Technique: Custom Struct Tag Like `json:"name"`
Golang Technique: Custom Struct Tag Like…
Golang Technique: Custom Struct Tag Like `json:"name"`
Do you know the json:"name" tag in Go? You can actually create your own custom struct tags, just like it. This is a great way to make your code more flexible and easier to work with.