Documentation
¶
Index ¶
- type DingDept
- type DingDeptCreateParams
- type DingDeptDBTX
- type DingDeptQueries
- func (q *DingDeptQueries) DingDeptCountById(ctx context.Context, id int64) (int64, error)
- func (q *DingDeptQueries) DingDeptCreate(ctx context.Context, arg DingDeptCreateParams) error
- func (q *DingDeptQueries) DingDeptListByPid(ctx context.Context, pid pgtype.Int8) ([]DingDept, error)
- func (q *DingDeptQueries) WithTx(tx pgx.Tx) *DingDeptQueries
- type Domain
- type DomainDBTX
- type DomainQueries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DingDept ¶
type DingDept struct { // 部门id ID int64 `json:"id"` // 上级部门id Pid pgtype.Int8 `json:"pid"` // 部门名称 Title pgtype.Text `json:"title"` }
钉钉部门
type DingDeptCreateParams ¶
type DingDeptDBTX ¶
type DingDeptQueries ¶
type DingDeptQueries struct {
// contains filtered or unexported fields
}
func NewDingDept ¶
func NewDingDept(db DingDeptDBTX) *DingDeptQueries
func (*DingDeptQueries) DingDeptCountById ¶
func (*DingDeptQueries) DingDeptCreate ¶
func (q *DingDeptQueries) DingDeptCreate(ctx context.Context, arg DingDeptCreateParams) error
func (*DingDeptQueries) DingDeptListByPid ¶
func (*DingDeptQueries) WithTx ¶
func (q *DingDeptQueries) WithTx(tx pgx.Tx) *DingDeptQueries
type Domain ¶
type Domain struct { // 领域标签 Tag string `json:"tag"` // 领域领导 Leaders []string `json:"leaders"` // 领域配置 Configs json.RawMessage `json:"configs"` }
领域
type DomainDBTX ¶
type DomainQueries ¶
type DomainQueries struct {
// contains filtered or unexported fields
}
func NewDomain ¶
func NewDomain(db DomainDBTX) *DomainQueries
func (*DomainQueries) DomainGetByNo ¶
func (*DomainQueries) WithTx ¶
func (q *DomainQueries) WithTx(tx pgx.Tx) *DomainQueries
Click to show internal directories.
Click to hide internal directories.