Skip to content

Commit

Permalink
change a method name according to code style, register method
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Suvorov committed Dec 19, 2024
1 parent 94c8301 commit 2453eec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/transformations/base64encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"encoding/base64"
)

func base64Encode(data string) (string, bool, error) {
func base64encode(data string) (string, bool, error) {
src := []byte(data)

return base64.StdEncoding.EncodeToString(src), true, nil
Expand Down
1 change: 1 addition & 0 deletions internal/transformations/transformations.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func GetTransformation(name string) (plugintypes.Transformation, error) {
func init() {
Register("base64Decode", base64decode)
Register("base64DecodeExt", base64decodeext)
Register("base64Encode", base64encode)
Register("cmdLine", cmdLine)
Register("compressWhitespace", compressWhitespace)
Register("cssDecode", cssDecode)
Expand Down

0 comments on commit 2453eec

Please sign in to comment.