Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
chore: fix function names in comment (gopasspw#2861)
Browse files Browse the repository at this point in the history
Signed-off-by: needsure <[email protected]>
  • Loading branch information
needsure authored Apr 10, 2024
1 parent 48f3240 commit 3acb20e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func NewInMemory() *Config {
return newWithOptions(true)
}

// NewContextReadOnly returns a context with a read-only config.
// NewContextInMemory returns a context with a read-only config.
func NewContextInMemory() context.Context {
return NewInMemory().WithConfig(context.Background())
}
Expand Down
2 changes: 1 addition & 1 deletion internal/create/wizard.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func renderTemplate(ctx context.Context, name string, s *root.Store) ([]byte, er
return nc, nil
}

// generatePasssword will walk through the password generation steps.
// generatePassword will walk through the password generation steps.
func generatePassword(ctx context.Context, hostname, charset string) (string, error) {
defaultLength, _ := config.DefaultPasswordLengthFromEnv(ctx)

Expand Down
2 changes: 1 addition & 1 deletion pkg/gopass/secrets/akv.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewAKV() *AKV {
return a
}

// NewKVWithData returns a new KV secret populated with data.
// NewAKVWithData returns a new KV secret populated with data.
func NewAKVWithData(pw string, kvps map[string][]string, body string, converted bool) *AKV {
kv := NewAKV()
kv.SetPassword(pw)
Expand Down

0 comments on commit 3acb20e

Please sign in to comment.