(public string)
| 424 | } |
| 425 | |
| 426 | func (p *Postgres) IsValid(public string) error { |
| 427 | // A valid key is currently a key that is not deleted. |
| 428 | _, err := p.GetKeyFromPublic(public) |
| 429 | return err |
| 430 | } |
| 431 | |
| 432 | func (p *Postgres) getKey(preds ...interface{}) (*KeyPair, error) { |
| 433 | psql := sq.StatementBuilder.PlaceholderFormat(sq.Dollar). |
nothing calls this directly
no test coverage detected