code cleanup

This commit is contained in:
2024-04-23 10:27:07 -04:00
parent 984909a648
commit e8eff432fc
5 changed files with 83 additions and 65 deletions

7
generator/base64.go Normal file
View File

@@ -0,0 +1,7 @@
package generator
import "encoding/base64"
func (g *Generator) generateBase64Url(file []byte) (string, error) {
return base64.RawURLEncoding.EncodeToString(file), nil
}