Open kmulvey opened 8 years ago
deadcode deadcode: oauth_helpers.go:70:1: validateJWS is unused grep validateJWS * oauth_helpers.go:// validateJWS gets the access token oauth_helpers.go:func validateJWS(accessToken string) []byte { test_cases_test.go: claims := unmarshalJWT(validateJWS(access)) test_cases_test.go: claims := unmarshalJWT(validateJWS(string(validateJWE(access))))
deadcode deadcode: oauth_helpers.go:70:1: validateJWS is unused
grep validateJWS * oauth_helpers.go:// validateJWS gets the access token oauth_helpers.go:func validateJWS(accessToken string) []byte { test_cases_test.go: claims := unmarshalJWT(validateJWS(access)) test_cases_test.go: claims := unmarshalJWT(validateJWS(string(validateJWE(access))))
yeah, it doesn't support calling private functions / consts across files
seems like this is fixed upstream https://github.com/remyoudompheng/go-misc/issues/8