Skip to content

Commit

Permalink
refactor: update struct fields in client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
balcieren committed Dec 27, 2023
1 parent 64b5f3d commit 7056d38
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ type Config struct {
}

type issue struct {
Title string `json:"title"`
Message string `json:"message"`
Payload *interface{} `json:"payload,omitempty"`
Type IssueType `json:"type"`
MaskPayload *bool `json:"mask_payload"`
Title string `json:"title"`
Message string `json:"message"`
Payload interface{} `json:"payload,omitempty"`
Type IssueType `json:"type"`
MaskPayload bool `json:"mask_payload"`
}

type Options struct {
Payload *interface{} `json:"payload,omitempty"`
Type IssueType `json:"type"`
MaskPayload *bool `json:"mask_payload"`
Payload interface{} `json:"payload,omitempty"`
Type IssueType `json:"type"`
MaskPayload bool `json:"mask_payload"`
}

func New(cfg Config) *Client {
Expand Down

0 comments on commit 7056d38

Please sign in to comment.