Skip to content

Instantly share code, notes, and snippets.

@gavinzhou
Created November 7, 2018 12:05
Show Gist options
  • Save gavinzhou/356bf2d5783d63a9b0f1ddde75429e26 to your computer and use it in GitHub Desktop.
Save gavinzhou/356bf2d5783d63a9b0f1ddde75429e26 to your computer and use it in GitHub Desktop.
package e
const (
SUCCESS = 200
ERROR = 500
INVALID_PARAMS = 400
ERROR_EXIST_TAG = 10001
ERROR_NOT_EXIST_TAG = 10002
ERROR_NOT_EXIST_ARTICLE = 10003
ERROR_AUTH_CHECK_TOKEN_FAIL = 20001
ERROR_AUTH_CHECK_TOKEN_TIMEOUT = 20002
ERROR_AUTH_TOKEN = 20003
ERROR_AUTH = 20004
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment