Versions in this module Expand all Collapse all v0 v0.1.1 Jul 16, 2019 v0.1.0 Jun 11, 2019 Changes in this version + type Menu struct + CreatedBy string + Enforcer *casbin.Enforcer + ID int + Menu *model.Menu + Method string + ModifiedBy string + Name string + PageNum int + PageSize int + Path string + 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)