给定以下结构typePointstruct{datetimeRecordedtime.Time}//Returnstrueifthepointwasrecordedbeforethecomparisonpoint.//Ifdatetimeisnotavailablereturnfalseandanerrorfunc(p1Point)RecordedBefore(p2Point)(isBeforebool,errerror){if(p1.datetimeRecorded.IsZero())||(p2.datetimeRecorded.IsZero()){err=ErrNoDatetime