Documentation
¶
Index ¶
- func Add(db *sql.DB, teamI int) (id, teamO int, err error)
- func ChooseField(info string) string
- func Delete(db *sql.DB, id int) error
- func GetFieldFromAllFieldsByID(db *sql.DB, id int, fld string) ([]string, error)
- func GetIDFromAllNames(db *sql.DB, name string) (int, error)
- func GetIDnFieldFromAllFields(db *sql.DB, fld string) (int, []string, error)
- func GetLdap(db *sql.DB, id string) (string, error)
- func GetMail(db *sql.DB, id string) (string, error)
- func GetMembers(db *sql.DB, id int) ([][]string, error)
- func GetName(db *sql.DB, id string) (string, error)
- func List(db *sql.DB, team int) error
- func ListFieldsFrmMap(db *sql.DB, id int, flds map[string]string, changedOnly bool) (changedFlds []string)
- func MakeLeader(db *sql.DB, id, team int) error
- func Modify(db *sql.DB, id int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChooseField ¶
ChooseField asks user to choose a field in contacts table
func GetFieldFromAllFieldsByID ¶
GetFieldFromAllFieldsByID get matched fields when a field exactly matched by ID
func GetIDFromAllNames ¶
GetIDFromAllNames gets ID when name contained in nick
func GetIDnFieldFromAllFields ¶
GetIDnFieldFromAllFields gets ID and matched field names when a field exactly matched
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.