Add trap count data to source page
It's...way too many rows, now that I have the actual data. It needs to be reworked.
This commit is contained in:
parent
26ee3efcc8
commit
e7ece52c8c
32 changed files with 1622 additions and 298 deletions
15
fieldseeker.go
Normal file
15
fieldseeker.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/aarondl/opt/null"
|
||||
)
|
||||
|
||||
func fsTimestampToTime(t null.Val[int64]) *time.Time {
|
||||
if t.IsNull() {
|
||||
return nil
|
||||
}
|
||||
result := time.UnixMilli(t.MustGet())
|
||||
return &result
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue