In a if
condition I'm trying to know if my data's type is time.Time
.
What is the best way to get the res.Datas[i]
's data type and check it in a if
loop ?
In a if
condition I'm trying to know if my data's type is time.Time
.
What is the best way to get the res.Datas[i]
's data type and check it in a if
loop ?
在 获取 if code>条件下,我想知道我的数据类型是否为
time.Time code>。 p>
res.Datas [i] code>数据类型并在其中检查其最佳方法是什么
if code>循环吗? p>
div>