- remove fuck

This commit is contained in:
gazebo
2019-09-06 15:11:36 +08:00
parent 2d06499663
commit a89928a366
3 changed files with 16 additions and 12 deletions

View File

@@ -16,7 +16,7 @@ func init() {
cacher = New("localhost", 6379, "")
}
type FuckYou struct {
type TestType struct {
Key string `json:"key"`
}
@@ -35,7 +35,7 @@ func TestIt(t *testing.T) {
t.Fatal("should not get nothing")
}
result := new(FuckYou)
result := new(TestType)
cacher.GetAs("key", result)
if result.Key != "value" {
t.Fatal("should get value")