Skip to content

Commit

Permalink
updated for language changes
Browse files Browse the repository at this point in the history
  • Loading branch information
drhodes authored and Joubin Houshyar committed Aug 3, 2010
1 parent 6aa3210 commit 59175aa
Show file tree
Hide file tree
Showing 8 changed files with 156 additions and 525 deletions.
189 changes: 0 additions & 189 deletions bench/gosynchclient.go

This file was deleted.

178 changes: 0 additions & 178 deletions bench/synchclient.go

This file was deleted.

7 changes: 4 additions & 3 deletions examples/ciao.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"bufio";
"log";
"fmt";
"strings";
"redis";
)

Expand Down Expand Up @@ -47,10 +46,12 @@ func main () {
user, _ := reader.ReadString(byte('\n'));
if len(user) > 1 {
user = user[0:len(user)-1];
value = strings.Bytes(user);
value = []byte(user);
client.Set(key, value);
} else {
fmt.Printf ("vafanculo!\n");
return;
}
else { fmt.Printf ("vafanculo!\n"); return }
}
fmt.Printf ("Hey, ciao %s!\n", fmt.Sprintf("%s", value));
}
Loading

0 comments on commit 59175aa

Please sign in to comment.