Skip to content

Commit

Permalink
run go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Aug 17, 2024
1 parent f2a883d commit a09e758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func GenRandB64(n int) (s string, err error) {
}

func LoadOrCreateHmacKey(dataDir string, name string) (key []byte, err error) {
path := filepath.Join(dataDir, name + ".hmac.private_key")
path := filepath.Join(dataDir, name+".hmac.private_key")
buf, err := os.ReadFile(path)
if err != nil {
if !errors.Is(err, os.ErrNotExist) {
Expand Down

0 comments on commit a09e758

Please sign in to comment.