Versions in this module Expand all Collapse all v0 v0.0.2 Nov 22, 2019 Changes in this version + func RegisterRouter(g *gin.RouterGroup) + type Handler struct + func (*Handler) Add() gin.HandlerFunc + func (*Handler) Delete() gin.HandlerFunc + func (*Handler) List() gin.HandlerFunc + type RAdmin struct + ID uint + Username string + func BindAdmin(u *cpt.User) *RAdmin + func BindList(users []cpt.User) []*RAdmin + type ReqAdd struct + UsersID []uint + type ReqDelete struct + UsersID []uint + type RespAdd struct + Details []*RespAddDeleteDetail + type RespAddDeleteDetail struct + UserID uint + type RespDelete struct + Details []*RespAddDeleteDetail + type RespList struct + Admins []*RAdmin v0.0.1 Nov 22, 2019