// pickOne picks one value from a array which is read from a file.
pickOne picks one value from a array which is read from a file.
// pickOne picks one value from a array which is read from a file .
func pickOne(filepath string) (string, error){
	s, _ := readLines(filepath)
	r := rand.New(rand.NewSource(time.Now().UnixNano()))
	index := r.Intn(len(s))
	orig := s[index]
	return replace(orig), nil
}
func pickOne ( filepath string ) ( string , error ) { s , _ := readLines ( filepath ) r := rand . New ( rand . NewSource ( time . Now ( ) . UnixNano ( ) ) ) index := r . Intn ( len ( s ) ) orig := s [ index ] return replace ( orig ) , nil }
pickOne picks one value from a array which is read from a file.
pickOne picks one value from a array which is read from a file .