-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f3e378
commit 13f1bde
Showing
22 changed files
with
5,449 additions
and
617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### Go template | ||
# Compiled Object files, Static and Dynamic libs (Shared Objects) | ||
*.o | ||
*.a | ||
*.so | ||
|
||
# Folders | ||
_obj | ||
_test | ||
|
||
# Architecture specific extensions/prefixes | ||
*.[568vq] | ||
[568vq].out | ||
|
||
*.cgo1.go | ||
*.cgo2.c | ||
_cgo_defun.c | ||
_cgo_gotypes.go | ||
_cgo_export.* | ||
|
||
_testmain.go | ||
|
||
*.exe | ||
*.test | ||
*.prof | ||
|
||
.gitignore |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
PROJ=$(shell realpath $$PWD/../../../..) | ||
ENV=env GOPATH=$(PROJ) | ||
CLI=$(ENV) easyjson -all | ||
|
||
JSON_SRC_FILES=\ | ||
structs.go | ||
|
||
JSON_OUT_FILES:=$(JSON_SRC_FILES:%.go=%_easyjson.go) | ||
|
||
json: $(JSON_OUT_FILES) | ||
|
||
%_easyjson.go: %.go | ||
$(CLI) $^ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package qless | ||
|
||
import ( | ||
"testing" | ||
"github.com/stretchr/testify/assert" | ||
"fmt" | ||
) | ||
|
||
func TestDial(t *testing.T) { | ||
c := newClient() | ||
c.SetConfig("test", "hello world") | ||
v, _ := c.GetConfig("test") | ||
fmt.Println(v) | ||
assert.NotNil(t, c) | ||
c.conn.Do("FLUSHDB") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package goqless | ||
package qless | ||
|
||
import ( | ||
"fmt" | ||
|
Oops, something went wrong.