Documentation ¶ Index ¶ func IsZeroValue(val reflect.Value) bool type ITable type Repo func NewRepo[T ITable](clickHouse *clickHouseDriver.Conn) Repo[T] func (r *Repo[T]) Create(ctx context.Context, model ITable) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsZeroValue ¶ func IsZeroValue(val reflect.Value) bool Types ¶ type ITable ¶ type ITable interface { TableName() string } type Repo ¶ type Repo[T ITable] struct { ClickHouse clickHouseDriver.Conn // contains filtered or unexported fields } func NewRepo ¶ func NewRepo[T ITable](clickHouse *clickHouseDriver.Conn) Repo[T] func (*Repo[T]) Create ¶ func (r *Repo[T]) Create(ctx context.Context, model ITable) error Source Files ¶ View all Source files repo.goutil.go Click to show internal directories. Click to hide internal directories.