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

Fix testing example in README #183

Merged
merged 1 commit into from
May 13, 2021
Merged

Fix testing example in README #183

merged 1 commit into from
May 13, 2021

Conversation

nick-merrill
Copy link
Contributor

@nick-merrill nick-merrill commented May 11, 2021

The example for tests is incorrect and does not compile because the to field must be an array of strings. As it stands the example will result in an error cannot unmarshal string into Go struct field Message.tests.messages.to of type []string.

Thanks for a super valuable piece of software! I'm loving Gmailctl.

The example for tests is incorrect and does not compile because the `to` field must be an array of strings. As it stands the example will result in an error `cannot unmarshal string into Go struct field Message.tests.messages.to of type []string`.
@mbrt
Copy link
Owner

mbrt commented May 13, 2021

Good catch! Thanks for the fix Nick

@mbrt mbrt merged commit 72c98e2 into mbrt:master May 13, 2021
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