github.com/RevenueMonster/sqlike@v1.0.6/sqlike/options/update.go (about)

     1  package options
     2  
     3  // UpdateOptions :
     4  type UpdateOptions struct {
     5  	Debug bool
     6  }
     7  
     8  // Update :
     9  func Update() *UpdateOptions {
    10  	return &UpdateOptions{}
    11  }
    12  
    13  // SetDebug :
    14  func (opt *UpdateOptions) SetDebug(debug bool) *UpdateOptions {
    15  	opt.Debug = debug
    16  	return opt
    17  }