Error of custom Point type for GORM – panic: reflect: call of reflect.Value.Field on slice Value I need to store Point type in my database.