You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On type of "{" after 'interface', the caret is put between the curly braces.
It's really annoying, especially when initializing slices of interface{}:
funcTest() {
ifaces:= []interface<caret>
}
The caret is put inside the curly braces and I instinctively start typing in values, which breaks parsing. And it's not immediately apparent what's wrong, so I end up scratching my head for several seconds =)