func TestSelectItemComment(t *testing.T) { selectedComment := new(data.ItemComment) selectedComment.ID = comment.ID err := Select(selectedComment) if err != nil { t.Error(err) } t.Log(comment.UpdateTime.UTC()) t.Log(selectedComment.UpdateTime.UTC()) selectedComment.UpdateTime = comment.UpdateTime structJSONCompare(t, comment, selectedComment) }