package api_acladmin /*******************************************************************/ // used in getResources() type getResourcesResponse []struct { ID uint `json:"id" example:"1"` Key string `json:"key" example:"html.view"` } var _ getResourcesResponse // for documentation /*******************************************************************/ // used in getResource() type getResourceResponse struct { ID uint `json:"id" example:"1"` Key string `json:"key" example:"html.view"` } /*******************************************************************/ // used in createResource() type createResourceRequest struct { Key string `json:"key" example:"html.view"` } type createResourceResponse struct { ID uint `json:"id" example:"1"` Key string `json:"key" example:"html.view"` } /*******************************************************************/ // used in updateResource() type updateResourceRequest struct { Key string `json:"key" example:"html.view"` } type updateResourceResponse struct { ID uint `json:"id" example:"1"` Key string `json:"key" example:"html.view"` }