refactor: extract path logic to path.go and run go fmt on codebase
This commit is contained in:
@@ -41,7 +41,7 @@ func Encrypt(plaintext string) (string, error) {
|
||||
if !IsSecretKeySet() {
|
||||
return "", ErrKeyNotSet
|
||||
}
|
||||
|
||||
|
||||
block, err := aes.NewCipher(masterSecretKey)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
||||
Reference in New Issue
Block a user