1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

address comments

This commit is contained in:
Adriano
2019-07-11 10:29:52 -07:00
parent 4b99fa18b3
commit 4d4891588d
6 changed files with 11 additions and 11 deletions

View File

@@ -81,7 +81,7 @@ func Register(auditor Auditor) {
auditors = append(auditors, auditor)
}
// Auditor is notified when noteworthy events happen, for example when a file is encrypted or decrypted.
// Auditor is notified when noteworthy events happen, for example when a file is encrypted or decrypted.
type Auditor interface {
Handle(event interface{})
}
@@ -107,7 +107,7 @@ type PostgresAuditor struct {
DB *sql.DB
}
// NewPostgresAuditor is the constructor for a new PostgresAuditor object
// NewPostgresAuditor is the constructor for a new PostgresAuditor struct
// initialized with the given db connection string
func NewPostgresAuditor(connStr string) (*PostgresAuditor, error) {
db, err := sql.Open("postgres", connStr)