// Keys is a convenience function converting an alphanumeric string
// to a slice of Inputs corresponding to those characters.
// Non-alphanumeric characters are treated as their byte values.
Keys is a convenience function converting an alphanumeric string
to a slice of Inputs corresponding to those characters.
Non-alphanumeric characters are treated as their byte values.
// Keys is a convenience function converting an alphanumeric string // to a slice of Inputs corresponding to those characters . // Non - alphanumeric characters are treated as their byte values .
func Keys(s string) []Input {
	var ret []Input
	for _, v := range []byte(strings.ToUpper(s)) {
		ret = append(ret, Input{Key: int(v)})
	}
	return ret
}
func Keys ( s string ) [ ] Input { var ret [ ] Input for _ , v := range [ ] byte ( strings . ToUpper ( s ) ) { ret = append ( ret , Input { Key : int ( v ) } ) } return ret }
Keys is a convenience function converting an alphanumeric string
to a slice of Inputs corresponding to those characters.
Keys is a convenience function converting an alphanumeric string to a slice of Inputs corresponding to those characters .