我有一个返回Inspections的模型实例的函数,我想按CreatedDate对它进行排序,但是在我编译之后我得到了cannotuseinspections[i].CreatedDate(typestring)astypeboolinreturnargumentinspection.go是typeInspectionstruct{Idint64`db:"id,omitempty"json:"id,omitempty"`CreatedDatestring`db:"created,omitempty"json:"created_date,omitempty"`Records[]*Insp