userRelate

package
v0.0.0-...-074ff86 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(groupId, userId int) error

func GroupIds

func GroupIds(userIds []int) []int

func Remove

func Remove(groupId, userId int) error

func UserIds

func UserIds(groupIds []int) []int

Types

type Model

type Model struct {
	models.Model
	AdminUserId      int `json:"admin_user_id"`
	AdminUserGroupId int `json:"admin_user_group_id"`
}

Jump to

Keyboard shortcuts

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