Documentation ¶
Index ¶
- Variables
- func DeleteAll(ctx context.Context, db *DB) (int64, error)
- type Campaign
- type Campaign_CreatedAt_Field
- type Campaign_Id_Field
- type Campaign_Industry_Field
- type Campaign_Pk_Field
- type Campaign_Update_Fields
- type Campaign_UpdatedAt_Field
- type DB
- type DBMethods
- type Error
- type ErrorCode
- type Lead
- type Lead_CreatedAt_Field
- type Lead_Industry_Field
- type Lead_Pk_Field
- type Lead_Update_Fields
- type Lead_UpdatedAt_Field
- type Methods
- type Rx
- type Tx
- type TxMethods
- type User
- type User_CreatedAt_Field
- type User_Id_Field
- type User_Name_Field
- type User_Pk_Field
- type User_Update_Fields
- type User_UpdatedAt_Field
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WrapErr = func(err *Error) error { return err } Logger func(format string, args ...interface{}) )
Functions ¶
Types ¶
type Campaign_CreatedAt_Field ¶
type Campaign_CreatedAt_Field struct {
// contains filtered or unexported fields
}
func Campaign_CreatedAt ¶
func Campaign_CreatedAt(v time.Time) Campaign_CreatedAt_Field
type Campaign_Id_Field ¶
type Campaign_Id_Field struct {
// contains filtered or unexported fields
}
func Campaign_Id ¶
func Campaign_Id(v string) Campaign_Id_Field
type Campaign_Industry_Field ¶
type Campaign_Industry_Field struct {
// contains filtered or unexported fields
}
func Campaign_Industry ¶
func Campaign_Industry(v string) Campaign_Industry_Field
type Campaign_Pk_Field ¶
type Campaign_Pk_Field struct {
// contains filtered or unexported fields
}
func Campaign_Pk ¶
func Campaign_Pk(v int64) Campaign_Pk_Field
type Campaign_Update_Fields ¶
type Campaign_Update_Fields struct { }
type Campaign_UpdatedAt_Field ¶
type Campaign_UpdatedAt_Field struct {
// contains filtered or unexported fields
}
func Campaign_UpdatedAt ¶
func Campaign_UpdatedAt(v time.Time) Campaign_UpdatedAt_Field
type DB ¶
type DB struct { *sql.DB Hooks struct { Now func() time.Time } // contains filtered or unexported fields }
type Lead_CreatedAt_Field ¶
type Lead_CreatedAt_Field struct {
// contains filtered or unexported fields
}
func Lead_CreatedAt ¶
func Lead_CreatedAt(v time.Time) Lead_CreatedAt_Field
type Lead_Industry_Field ¶
type Lead_Industry_Field struct {
// contains filtered or unexported fields
}
func Lead_Industry ¶
func Lead_Industry(v string) Lead_Industry_Field
type Lead_Pk_Field ¶
type Lead_Pk_Field struct {
// contains filtered or unexported fields
}
func Lead_Pk ¶
func Lead_Pk(v int64) Lead_Pk_Field
type Lead_Update_Fields ¶
type Lead_Update_Fields struct { }
type Lead_UpdatedAt_Field ¶
type Lead_UpdatedAt_Field struct {
// contains filtered or unexported fields
}
func Lead_UpdatedAt ¶
func Lead_UpdatedAt(v time.Time) Lead_UpdatedAt_Field
type User_CreatedAt_Field ¶
type User_CreatedAt_Field struct {
// contains filtered or unexported fields
}
func User_CreatedAt ¶
func User_CreatedAt(v time.Time) User_CreatedAt_Field
type User_Id_Field ¶
type User_Id_Field struct {
// contains filtered or unexported fields
}
func User_Id ¶
func User_Id(v string) User_Id_Field
type User_Name_Field ¶
type User_Name_Field struct {
// contains filtered or unexported fields
}
func User_Name ¶
func User_Name(v string) User_Name_Field
type User_Pk_Field ¶
type User_Pk_Field struct {
// contains filtered or unexported fields
}
func User_Pk ¶
func User_Pk(v int64) User_Pk_Field
type User_Update_Fields ¶
type User_Update_Fields struct { }
type User_UpdatedAt_Field ¶
type User_UpdatedAt_Field struct {
// contains filtered or unexported fields
}
func User_UpdatedAt ¶
func User_UpdatedAt(v time.Time) User_UpdatedAt_Field
Click to show internal directories.
Click to hide internal directories.