Skip to content

Commit

Permalink
remove int64 -> int conversion as it is not necessary for Sprinting
Browse files Browse the repository at this point in the history
  • Loading branch information
barkyq committed Jan 17, 2023
1 parent be46f7a commit 771a2b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions event.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ func (evt *Event) Serialize() []byte {
ser = append(ser, []byte{'"', ','}...)

// created_at
ser = append(ser, []byte(fmt.Sprintf("%d", int(evt.CreatedAt.Unix())))...)
ser = append(ser, []byte(fmt.Sprintf("%d", evt.CreatedAt.Unix()))...)
ser = append(ser, ',')

// kind
ser = append(ser, []byte(fmt.Sprintf("%d,", int(evt.Kind)))...)
ser = append(ser, []byte(fmt.Sprintf("%d,", evt.Kind))...)

// tags
ser = append(ser, '[')
Expand Down

0 comments on commit 771a2b6

Please sign in to comment.