keys/words/wordcodec.go
func loadBank(bank string) ([]string, error) {
	filename := "keys/words/wordlist/" + bank + ".txt"
	words, err := wordlist.Asset(filename)
	if err != nil {
		return nil, err
	}
	wordsAll := strings.Split(strings.TrimSpace(string(words)), "\n")
	return wordsAll, nil
}
func loadBank(bank string) ([]string, error) {
	filename := "keys/words/wordlist/" + bank + ".txt"
	words, err := wordlist.Asset(filename)
	if err != nil {
		return nil, err
	}
	wordsAll := strings.Split(strings.TrimSpace(string(words)), "\n")
	return wordsAll, nil
}
func loadBank ( bank string ) ( [ ] string , error ) { filename := " " + bank + " " words , err := wordlist . Asset ( filename ) if err != nil { return nil , err } wordsAll := strings . Split ( strings . TrimSpace ( string ( words ) ) , " \n " ) return wordsAll , nil }
// loadBank opens a wordlist file and returns all words inside
loadBank opens a wordlist file and returns all words inside