Skip to content

Switched from [ to [[#57

Open
flying-sheep wants to merge 1 commit intomannau:masterfrom
flying-sheep:item-access
Open

Switched from [ to [[#57
flying-sheep wants to merge 1 commit intomannau:masterfrom
flying-sheep:item-access

Conversation

@flying-sheep
Copy link

@flying-sheep flying-sheep commented Jul 28, 2017

For setting or getting a single item, [[ is preferable. I renamed [ to [[ and added a deprecated alias [ to reflect that best practice.

As and alternative, I could remove the .Deprecated calls and merely bless the [[ variant by using it in the docs and examples, while retaining [ as an option.

@mannau mannau force-pushed the master branch 8 times, most recently from 3272e4a to 4d85058 Compare August 27, 2017 22:19
@mannau mannau force-pushed the master branch 2 times, most recently from 0d2212f to 09382bb Compare October 26, 2017 21:58
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.

1 participant