anchor.diff:  }
   
   func Destroy<%= @model_name %>(id int64) error {
  +	<%- if @struct_info[:has_assoc_dependent] -%>
  +	// Destroy association objects at first
  +	// Not care if exec properly temporarily
  +	destroy<%= @model_name %>Associations(id)
  +    <%- end -%>
   	stmt, err := db.Preparex(db.Rebind(`DELETE FROM <%= table_name %> WHERE id = ?`))
   	_, err = stmt.Exec(id)
   	if err != nil {
   		return err
   	}
  -	<%- if @struct_info[:has_assoc_dependent] -%>
  -	// not care if exec properly temporarily
  -	destroy<%= @model_name %>Associations(id)
  -    <%- end -%>
   	return nil
   }
   
  
positive.code: 	if err != nil {
  		return 0, err
  	}
  	<%- if @struct_info[:has_assoc_dependent] -%>
  	if x_err != nil {
  		log.Printf("Delete associated objects error: %v\n", err)
  	} else {
  		destroy<%= @model_name %>Associations(ids...)
  	}
  	<%- end -%>
  	return cnt, nil
  }
  
  
negative.code: 	if err != nil {
  		return 0, err
  	}
  	return cnt, nil
  }
  
  