wechatwork

package
v0.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DepartmentToTeam

func DepartmentToTeam(dept *wxwork.Department, all wxwork.Departments) *team.Team

DepartmentToTeam ...

func SyncDepartment

func SyncDepartment(action, uid string)

SyncDepartment ...

func UserToStaff

func UserToStaff(user *wxwork.User) *models.Staff

UserToStaff ...

Types

type Department

type Department = wxwork.Department

type Departments

type Departments = wxwork.Departments

type Syncer

type Syncer struct {
	DeptFn    func(dept *wxwork.Department, idx int)
	BulkFn    func(svc backends.Servicer, t *team.Team, staffs models.Staffs) error
	WithTeam  bool
	WithStaff bool
	Output    bool
	// contains filtered or unexported fields
}

Syncer ...

func (*Syncer) RunIt

func (s *Syncer) RunIt() error

RunIt ...

type User

type User = wxwork.User

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL