make signup script a template

This commit is contained in:
2023-01-21 22:19:17 +05:30
parent 79d0cc3771
commit a85dba1c41
4 changed files with 30 additions and 27 deletions

View File

@ -1,9 +1,13 @@
package utils
import (
_ "embed"
"strings"
)
//go:embed templates/signup-script-template
var Bashscript string
func Dedup(input string) string {
unique := []string{}
words := strings.Split(input, " ")