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
useful when you want to randomize actions etc..
{ "action": "{{one track,identify,alias,page,group}}" }
need to refactor generators to return errors, so that we can report errors if you don't supply arguments:
func one(g *Generator, args...string) (string, error){ if 0 == len(args) { return "", errors.New("expected arguments") } return args[rand.Intn(len(args))], nil }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
useful when you want to randomize actions etc..
need to refactor generators to return errors, so that we can report errors if you don't supply arguments:
The text was updated successfully, but these errors were encountered: