Skip to content
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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

niharikabhavaraju
Copy link
Collaborator

@niharikabhavaraju niharikabhavaraju commented Mar 11, 2025

GO: Implement lolwut command

Issue link

This Pull Request is linked to issue : #3396

Signed-off-by: Niharika Bhavaraju <[email protected]>
@niharikabhavaraju niharikabhavaraju requested a review from a team as a code owner March 11, 2025 11:56
@niharikabhavaraju niharikabhavaraju self-assigned this Mar 20, 2025
Comment on lines +25 to +29
func NewLolwutOptions(version int64) *LolwutOptions {
return &LolwutOptions{Version: version}
}

func (options *LolwutOptions) SetArgs(args []int) *LolwutOptions {
Copy link
Collaborator

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() {
Copy link
Collaborator

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() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants