Skip to content

Commit

Permalink
fix fakeit for flexint
Browse files Browse the repository at this point in the history
  • Loading branch information
platinummonkey committed Dec 31, 2024
1 parent c047c0a commit 8094866
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ids.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type IDS struct { //nolint:revive
Datetime time.Time `fake:"{recent_time}" json:"datetime"`
DestIP string `fake:"{ipv4address}" json:"dest_ip"`
DestIPGeo IPGeo `json:"dstipGeo"`
DestPort FlexInt `fake:"{port}" json:"dest_port,omitempty"`
DestPort FlexInt `json:"dest_port,omitempty"`
DstIPASN string `fake:"{address}" json:"dstipASN"`
DstIPCountry string `fake:"{country}" json:"dstipCountry"`
DstMAC string `fake:"{macaddress}" json:"dst_mac"`
Expand All @@ -42,10 +42,10 @@ type IDS struct { //nolint:revive
SrcIPASN string `fake:"{address}" json:"srcipASN"`
SrcIPCountry string `fake:"{country}" json:"srcipCountry"`
SrcMAC string `fake:"{macaddress}" json:"src_mac"`
SrcPort FlexInt `fake:"{port}" json:"src_port,omitempty"`
SrcPort FlexInt `json:"src_port,omitempty"`
Subsystem string `json:"subsystem"`
Time FlexInt `fake:"{timestamp}" json:"time"`
Timestamp FlexInt `fake:"{timestamp}" json:"timestamp"`
Time FlexInt `json:"time"`
Timestamp FlexInt `json:"timestamp"`
USGIP string `fake:"{ipv4address}" json:"usgip"`
USGIPASN string `fake:"{address}" json:"usgipASN"`
USGIPCountry string `fake:"{country}" json:"usgipCountry"`
Expand Down

0 comments on commit 8094866

Please sign in to comment.