menuRelate

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(menuId, authId int) error

func AddMultiple

func AddMultiple(menuIds []int, authId int) error
func MenuIds(authIds []int) []int

func Remove

func Remove(menuId, authId int) error

func RemoveMultiple

func RemoveMultiple(menuIds []int, authId int) error

Types

type Model

type Model struct {
	models.Model
	AdminMenuId int `json:"admin_menu_id"`
	AdminAuthId int `json:"admin_auth_id"`
}

Jump to

Keyboard shortcuts

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