removed print out

This commit is contained in:
Derek McQuay 2016-02-22 18:01:09 -08:00
parent c757efb8f8
commit 13375bd8c2

View File

@ -1,14 +1,10 @@
package psyfer package psyfer
import ( import "math/rand"
"fmt"
"math/rand"
)
func TransposeRandom(input string) string { func TransposeRandom(input string) string {
shuffle := "" shuffle := ""
list := rand.Perm(len(input)) list := rand.Perm(len(input))
fmt.Println(list)
for _, i := range list { for _, i := range list {
shuffle += string(input[i]) shuffle += string(input[i])
} }