sleepinggenius2/gosmi

syscall.Time_t undefined in GOOS==windows

malexzx opened this issue · 0 comments

Hello @sleepinggenius2 !!!

Thank you, for your big work!
I found a small incompatibility with windows OS:
the type syscall.Time_t is undefined under windows, can you type it as int64 (or more concrete type)?

Also, can you move structs types from model.go to another package?
It prevents a dependency from CGO if a program only wants to load produced JSON from the file.

Have a nice day!
@malexzx