Closed dependabot[bot] closed 4 months ago
13 function(s) exceeding a complexity of 15
aws/aws.go
cache/memorycache_test.go
data/data.go
database/mysql.go
errors/error.go
validation/numbers_test.go
validation/others_test.go
validation/password_test.go
validation/string_test.go
validation/validation_test.go
validation/web_test.go
/github/workspace/cache/memorycache.go:67:2: ineffectual assignment to status
/github/workspace/cache/memorycache.go:67:2: ineffectual assignment to status
aws/aws.go
data/data.go
database/mysql.go
errors/error.go
error: failed to check packages: errors while loading package github.com/sphireinc/mantis/stripe: [/github/workspace/stripe/customer.go:43:13: cannot use stripe.String(customerID) (value of type *string) as string value in struct literal /github/workspace/stripe/payment.go:28:12: sc.CustomerSources undefined (type *client.API has no field or method CustomerSources) /github/workspace/stripe/payment.go:41:16: cannot use src (variable of type *"github.com/stripe/stripe-go/v72".Source) as *"github.com/stripe/stripe-go/v72".SourceParams value in struct literal]
# github.com/sphireinc/mantis/stripe
vet: stripe/customer.go:43:13: cannot use stripe.String(customerID) (value of type *string) as string value in struct literal
# github.com/sphireinc/mantis/stripe
shadow: stripe/customer.go:43:13: cannot use stripe.String(customerID) (value of type *string) as string value in struct literal
-: # github.com/sphireinc/mantis/stripe
stripe/customer.go:43:13: cannot use stripe.String(customerID) (value of type *string) as string value in struct literal
stripe/payment.go:28:12: sc.CustomerSources undefined (type *client.API has no field or method CustomerSources)
stripe/payment.go:41:16: cannot use src (variable of type *"github.com/stripe/stripe-go/v72".Source) as *"github.com/stripe/stripe-go/v72".SourceParams value in struct literal (compile)
geo/conversion.go:5:6: func decimalToDMS is unused (U1000)
geo/conversion.go:18:6: func dmsToDecimal is unused (U1000)
geo/geo.go:18:6: func boundingBox is unused (U1000)
geo/geo.go:44:6: func haversineDistance is unused (U1000)
geo/geo.go:65:6: func midpoint is unused (U1000)
geo/geo.go:88:6: func initialBearing is unused (U1000)
math/circle.go:5:6: func areaOfCircle is unused (U1000)
math/circle.go:9:6: func circumferenceOfCircle is unused (U1000)
math/cone.go:5:6: func volumeOfCone is unused (U1000)
math/cylinder.go:5:6: func volumeOfCylinder is unused (U1000)
math/cylinder.go:9:6: func surfaceAreaOfCylinder is unused (U1000)
math/fibonacci.go:5:6: func isFibonacci is unused (U1000)
math/fibonacci.go:12:6: func isPerfectSquare is unused (U1000)
math/fibonacci.go:17:6: func fibonacci is unused (U1000)
math/math.go:3:6: func square is unused (U1000)
math/math.go:7:6: func isEven is unused (U1000)
math/math.go:11:6: func isOdd is unused (U1000)
math/math.go:15:6: func isPrime is unused (U1000)
math/math.go:30:6: func gcd is unused (U1000)
math/math.go:39:6: func lcm is unused (U1000)
math/math.go:43:6: func factorial is unused (U1000)
math/math.go:50:6: func firstNPrimes is unused (U1000)
math/rectangle.go:3:6: func areaOfRectangle is unused (U1000)
math/rectangle.go:7:6: func perimeterOfRectangle is unused (U1000)
math/slice.go:5:6: func sumIntSlice is unused (U1000)
math/slice.go:13:6: func meanFloatSlice is unused (U1000)
math/slice.go:21:6: func maxIntSlice is unused (U1000)
math/slice.go:31:6: func minIntSlice is unused (U1000)
math/slice.go:42:6: func dotProduct is unused (U1000)
math/slice.go:55:6: func euclideanDistance is unused (U1000)
math/slice.go:67:6: func uniqueIntSlice is unused (U1000)
math/sphere.go:5:6: func volumeOfSphere is unused (U1000)
math/sphere.go:9:6: func surfaceAreaOfSphere is unused (U1000)
math/temperature.go:3:6: func fahrenheitToCelsius is unused (U1000)
math/temperature.go:7:6: func celsiusToFahrenheit is unused (U1000)
math/trapezoid.go:3:6: func areaOfTrapezoid is unused (U1000)
math/triangle.go:5:6: func areaOfTriangle is unused (U1000)
math/triangle.go:9:6: func perimeterOfTriangle is unused (U1000)
math/triangle.go:13:6: func hypotenuseLength is unused (U1000)
string/rune.go:3:6: func countRune is unused (U1000)
string/string.go:3:6: func reverseString is unused (U1000)
string/string.go:14:6: func isPalindrome is unused (U1000)
Bumps golang.org/x/sys from 0.0.0-20220227234510-4e6760a101f9 to 0.1.0.
Commits
You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/sphireinc/Mantis/network/alerts).