I have my struct like this:
type User struct {
Id uint64
Email string
}
And I know, that I can declare it like this:
user := User{
Id: 1,
Email: "test@example.com",
}
And I can update it like this:
user.Id = 2
user.Email = "test1@example.com"
Is it possible to use similar construction like for creating but for updating struct?