Closed
Description
What version of SQLBoiler are you using (sqlboiler --version
)?
SQLBoiler v4.16.0
Problem
Comment position in first column of table does not break line
Example auto generation code for sturuct
type Item struct { // 商品番号
ID int `boil:"id" json:"id" toml:"id" yaml:"id"`
// メーカー
Maker string `boil:"maker" json:"maker" toml:"maker" yaml:"maker"`
// 作成日時
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
// 更新日時
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
// 削除日時
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *itemR `boil:"-" json:"-" toml:"-" yaml:"-"`
L itemL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Request
I want to fix following file, but I don't have permission to push to this repository, so I want to get it.
sqlboiler/templates/main/00_struct.go.tpl
Lines 9 to 10 in 15d15d1