We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We now have stats, stats-job, stats-tube. which returns yaml strings.
stats
stats-job
stats-tube.
But from a user perspective, we do not want to deal with yaml. We want data wraped in yaml, not yaml itself.
To achieve this, I have API modification related problem and Implementation-related problem
Which one looks good to you?
parsed_item, err := beanstalkc_conn.StatsTube_Parsed("default")
parsed_item, err := beanstalkc_conn.StatsTube("default", func(_ string) map[string]interface{} { panic("do something") })
2b)
parsed_item, err:= beanstalkc_conn.StatsTube("default")
Of course. If you prefer 2a, we can leave this to users to decide.
use https://github.com/kr/beanstalk/blob/master/parse.go This will not have any dependence introduced. and since kr used that, It shall looks good to us.
use https://github.com/go-yaml/yaml A huge but seems well-tested library
The text was updated successfully, but these errors were encountered:
@slayercat thanks for this. I will check it over the weekend. Very busy this last 2 weeks.
Sorry, something went wrong.
No branches or pull requests
We now have
stats
,stats-job
,stats-tube.
which returns yaml strings.But from a user perspective, we do not want to deal with yaml. We want data wraped in yaml, not yaml itself.
To achieve this, I have API modification related problem and Implementation-related problem
API modification related problem
Which one looks good to you?
2a)
2b)
Implementation-related problem
Which one looks good to you?
Of course. If you prefer 2a, we can leave this to users to decide.
use https://github.com/kr/beanstalk/blob/master/parse.go
This will not have any dependence introduced. and since kr used that, It shall looks good to us.
use https://github.com/go-yaml/yaml
A huge but seems well-tested library
The text was updated successfully, but these errors were encountered: