Oh ffs. 🤯
Oh ffs. 🤯
D’oh. I missed that! 😔
Except Google Pay had the ability to send money to/from friends and bill splitting. Wallet has no such features at all. And nothing they’ve published or any news on it seems to mention this. (Which has left me somewhat confused that I’m missing something. But as best as I can tell, I’m not)
If you look deeper at the recorded PR commit, comments, and package description it’s clearly straight up mean-spirited.
Concur.
Two examples because life is funny like that:
I moved into an apartment years ago where it was partially below ground. Didn’t think anything of it. And then the first morning I slept there I was startled awake by a car’s horn and then engine as it was being remote started directly in my face. Or at least, that’s what it felt like. The window was at headlight height, and the car was parked right up to the window. It was hell. Nothing could have prepared me for that. So incredibly loud and bright. Thankfully it was a temporary apartment, but lemme tell you I was highly motivated to get out of there within a few months.
In the second case years later it was a beep. Just a constant high-frequency beep that would not end. Non-stop every hour for months. Apparently my neighbor’s RV was parked at a business’s back lot behind my house. Well, the battery was dying so the obvious move is to beep non-stop until the battery is fully dead. Months. A few weeks into this insanity I reported it to the police and they drove out and argued with me about how they couldn’t hear it and that finally it wasn’t loud enough to constitute a nuisance. I can hear it during the day, and I can sure as shit hear it in my bedroom 150ft away. Doesn’t have to be loud to me incredibly annoying. White noise would barely mask it. I wanted to burn that RV to the ground.
Noise can be such a thing.
I’m going to try to help explain this, but i’ll be honest it feels like you’re coming from a place of frustration. I’m sorry about that, take a break :)
(I’m not a language expert, but here goes)
These are the two forms of variable declaration and the second one is a declaration and initialization short hand. I most commonly use
:=
. For instance:foo := 1 // it's an int! var bar uint16 // variable will be assigned the zero value for unit16 which is unsurprisingly, 0.
This has no return type because it returns no values. It does not require passing
u
. It’s a method on the User type, specificallyu User
is a method receiver. You might think of this akin toself
orthis
variable in other languages. By convention it is a singke character of the type’s name.If that function returned a value it might look like:
func(u User) hi() string { return "hi!" }
This is confusing because of how it’s written. But the intent is to have a map (aka dictionary or hashmap) with
string
keys andint
values. In your example it’s initializd to have no entries, the{}
. Let me rewrite this a different way:ages := map[string]int{ "Alice": 38, "Bob": 37, }
Hope this helps. In all honesty, Go’s language is very simple and actually rather clear. There’s definitely some funny bits, but these aren’t it. Take a break, come back to it later. It’s hard to learn if you are frustrated.
I also recommend doing the Tour of Go here. My engineers who found Go intimidating found it very accessible and helped them get through the learning code (as there is with any language).
Good luck (I’m on mobile and didn’t check my syntax, hopefully my code works 😎)