package
0.0.5
Repository: https://github.com/betagorobot/betago.git
Documentation: pkg.go.dev

# Functions

CheckIsAdmin 检查是否是管理员 @param userID @return isAdmin.
GetAdminLevel 获取管理员等级 @param userID @return level.
GetCommandInfo 获取命令信息 @param command @return info.
GetCommandInfoWithOpt 获取命令信息 @param option @return info.
GetDbConnection returns the db connection @return *gorm.DB.

# Structs

Administrator is the struct of administrator.
CommandInfo is the struct of command info.