Remove omitempty
David Palm
8 years ago
2 | 2 |
// TeamJoinEvent represents the Team join event
|
3 | 3 |
type TeamJoinEvent struct {
|
4 | 4 |
Type string `json:"type"`
|
5 | |
User User `json:"user,omitempty"`
|
|
5 |
User User `json:"user"`
|
6 | 6 |
}
|
7 | 7 |
|
8 | 8 |
// TeamRenameEvent represents the Team rename event
|