-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GO: Implement lolwut command #3355
base: main
Are you sure you want to change the base?
GO: Implement lolwut command #3355
Conversation
Signed-off-by: Niharika Bhavaraju <[email protected]>
Signed-off-by: Niharika Bhavaraju <[email protected]>
Signed-off-by: Niharika Bhavaraju <[email protected]>
Signed-off-by: Niharika Bhavaraju <[email protected]>
Signed-off-by: Niharika Bhavaraju <[email protected]>
…key-glide into niharika-lolwutcmd
Signed-off-by: Niharika Bhavaraju <[email protected]>
func NewLolwutOptions(version int64) *LolwutOptions { | ||
return &LolwutOptions{Version: version} | ||
} | ||
|
||
func (options *LolwutOptions) SetArgs(args []int) *LolwutOptions { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add docs to these setters
@@ -82,3 +82,26 @@ func ExampleGlideClusterClient_DBSizeWithOptions() { | |||
|
|||
// Output: 0 | |||
} | |||
|
|||
func ExampleGlideClusterClient_LolwutWithOptions() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to duplicate the test for lolwut
without options
@@ -113,3 +113,28 @@ func ExampleGlideClient_InfoWithOptions() { | |||
|
|||
// Output: response is of type string | |||
} | |||
|
|||
func ExampleGlideClient_LolwutWithOptions() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
GO: Implement lolwut command
Issue link
This Pull Request is linked to issue : #3396