Documentation
¶
Index ¶
- func GetResourceId(params common.QueryMap, resourceKey string) (int, error)
- func GetResourceIdStr(params common.QueryMap, resourceKey string) (string, error)
- func GetUserIdFromToken(ctx context.Context) (int, error)
- func HandleError(w http.ResponseWriter, err error)
- func Wrap(err error, format string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceIdStr ¶
func HandleError ¶
func HandleError(w http.ResponseWriter, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.