GORM Playground Link
go-gorm/playground#824
Description
This is a duplicate of #7543 which the github bot keeps marking as stale.
The title says it all. So something like this will not work:
type Tree struct {
	ID        uint    `json:"id" gorm:"primaryKey"`
	IsAlive   bool    `json:"is_alive" gorm:"default:true"`
	Height    float64 `json:"height" gorm:"type:FLOAT"`
}