Skip to content

Conversation

@NickBorgers
Copy link

@NickBorgers NickBorgers commented Jul 30, 2022

This MR would resolve #4 by adding a new method func (c *Client) CompromisedCount(value string) (bool, int64, error).
I turned func (c *Client) Compromised(value string) (bool, error) into a wrapper that simply doesn't return the int count. This maintains the API contract while minimizing extra lines of code.

I also containerized testing by adding a Makefile and Dockerfile, but those have no effect on functionality. I've been running make test repeatedly to validate changes; make build once to build the base image.

@mattevans
Copy link
Owner

@NickBorgers Hey! Thanks for this. I'll set aside some time this weekend to review and get it merged. Appreciate it. 🥇

@NickBorgers
Copy link
Author

@NickBorgers Hey! Thanks for this. I'll set aside some time this weekend to review and get it merged. Appreciate it. 🥇

Bumping this. I don't understand what happened with the Travis CI job; I'm not sure my changes caused it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide the number of times a particular password was pwned

3 participants