github.com/RevenueMonster/sqlike@v1.0.6/sqlike/options/destory_one.go (about) 1 package options 2 3 // DestroyOneOptions : 4 type DestroyOneOptions struct { 5 DeleteOptions 6 } 7 8 // DestroyOne : 9 func DestroyOne() *DestroyOneOptions { 10 return &DestroyOneOptions{} 11 } 12 13 // SetDebug : 14 func (opt *DestroyOneOptions) SetDebug(debug bool) *DestroyOneOptions { 15 opt.Debug = debug 16 return opt 17 }