grim/youtrack-import
Clone
Summary
Browse
Changes
Graph
Disable the issue linker and only mentioned previously discarded comments once
draft
2020-09-01, Gary Kramlich
d8a71dd2be73
Disable the issue linker and only mentioned previously discarded comments once
package
trac
import
(
"database/sql"
"time"
)
func
convertTime
(
t
int64
)
time
.
Time
{
secs
:=
t
/
1000000
mils
:=
t
%
1000000
return
time
.
Unix
(
secs
,
mils
)
}
func
convertString
(
s
sql
.
NullString
)
string
{
if
s
.
Valid
{
return
s
.
String
}
return
""
}