Beispiel #1
0
/* 获取最后一个point记录 */
func (p *Point) GetLast(db gorm.DB) {
	db.Last(p)
}