在php中,我可以打印rowcount,其中postid与下面的代码匹配,而无需在while循环中传递结果。$status_query="SELECTcount(*)aspostCountFROMpostDataWHEREpostid=1";$status_result=mysqli_query($con,$status_query);$status_row=mysqli_fetch_array($status_result);$postCount=$status_row['postCount'];echo$postCount;现在我将代码重写到golang以获得相同的行数。我利用此处