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

Added short assignment example. #15

Merged
merged 4 commits into from
Mar 14, 2018
Merged

Added short assignment example. #15

merged 4 commits into from
Mar 14, 2018

Conversation

dooman87
Copy link
Contributor

It's probably worth to show different ways for declaring and assignment. Maybe it makes sense to show multiple assignment, also.

pavlo-iuriichuk added a commit to pavlo-iuriichuk/go-koans that referenced this pull request Apr 29, 2017
about_arrays.go Outdated
@@ -14,6 +16,7 @@ func aboutArrays() {
assert(fruits == [4]string{}) // comparing arrays is not like comparing apples and oranges

tasty_fruits := fruits[1:3] // defining oneself as a variation of another
assert(fmt.Sprintf("%T", tasty_fruits) == __string__) //and get not a simeple array as a result
Copy link
Contributor

Choose a reason for hiding this comment

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

@dooman87 I think there is a spelling error here, simeple should be simple )

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, thanks! Fixed it

FIX: Spelling mistake
@dooman87
Copy link
Contributor Author

@cdarwin Ran go fmt and fixed spelling mistake.

@cdarwin cdarwin merged commit bf508fe into cdarwin:master Mar 14, 2018
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.

3 participants