Versions in this module Expand all Collapse all v0 v0.5.1 Jun 12, 2022 v0.5.0 Jun 12, 2022 Changes in this version + var SentinalTime time.Time = time.Date(2006, 1, 2, 3, 4, 5, 7, time.Local) type Example + const ExAddressSave + const ExAddressSaveSlice + const ExLogEntrySave + const ExRelationshipSave + type LogEntry struct + Message string + type TimeGenerator struct + func (tg *TimeGenerator) Next() time.Time v0.4.0 Jan 5, 2022 v0.3.0 Jul 6, 2021 Changes in this version + func Connect(e Example) (DB *sql.DB, err error) + type Example int + const ExAddressInsert + const ExAddressInsertSlice + const ExAddressUpdate + const ExAddressUpdateSlice + const ExNone + const ExRelationshipInsert + const ExRelationshipInsertSlice + const ExRelationshipUpdate + const ExRelationshipUpdateSlice + const ExRelationshipUpsert + const ExRelationshipUpsertSlice + const ExUpsert + const ExUpsertSlice + type Relationship struct + LeftId int + RightId int + Toggle bool + type Upsertable struct + CreatedTime time.Time + Id string + ModifiedTime time.Time + Number int + String string v0.2.0 Jun 9, 2021 v0.1.0 Jun 3, 2021 Changes in this version + var Models = &model.Models + func DB_Insert(models interface{}) (*sql.DB, [][]driver.Value, error) + func DB_Update(models interface{}) (*sql.DB, [][]driver.Value, error) + func NewModels() *model.Models + func ReturnArgs(n int, columns ...string) []driver.Value + type Address struct + City string + CreatedTime time.Time + Id int + ModifiedTime time.Time + State string + Street string + Zip string + type Person struct + Age int + CreatedTime time.Time + First string + Id int + Last string + ModifiedTime time.Time + SSN string + SpouseId int + type PersonAddress struct + AddressId int + PersonId int