mirror of
https://github.com/Luzifer/korvike.git
synced 2024-12-20 19:21:17 +00:00
10 lines
193 B
Go
10 lines
193 B
Go
|
package functions
|
||
|
|
||
|
import "encoding/base64"
|
||
|
|
||
|
func init() {
|
||
|
registerFunction("b64encode", func(name string, v ...string) string {
|
||
|
return base64.StdEncoding.EncodeToString([]byte(name))
|
||
|
})
|
||
|
}
|