userlist

package
v0.0.0-...-1562072 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetThisGroupList

func GetThisGroupList(gid string) []string

func InitDataGroup

func InitDataGroup(groupID string) error

InitDataGroup Init A group if we cannot find it.

func PickUserOnGroup

func PickUserOnGroup(gid string) string

func RemoveUserOnList

func RemoveUserOnList(userid string, groupID string)

func SaveUserOnList

func SaveUserOnList(userid string, groupID string, username string)

Types

type UserList

type UserList struct {
	UserID   string `db:"userid"`
	UserName string `db:"username"`
}

Jump to

Keyboard shortcuts

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