s_menu

package
Version: v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Menu struct {
	ID     int
	Name   string
	Path   string
	Method string

	CreatedBy  string
	ModifiedBy string

	PageNum  int
	PageSize int

	Menu     *model.Menu      `inject:""`
	Enforcer *casbin.Enforcer `inject:""`
}
func (a *Menu) Add() error
func (a *Menu) Count() (int, error)
func (a *Menu) Delete() error
func (a *Menu) Edit() error
func (a *Menu) ExistByID() (bool, error)
func (a *Menu) Get() (*model.Menu, error)
func (a *Menu) GetAll() ([]*model.Menu, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL