package cnb import ( "net/http" "cnb.cool/cnb/go-cnb/cnb" "cnb.cool/looc/git-cnb/ui" ) func handleHttpResponse(rsp *cnb.Response) { if rsp.StatusCode == http.StatusUnauthorized { ui.ErrorWithExit("you have no permission to this repo, please set correct CNB_TOKEN OR your repo is not CNB") } }