💾 Archived View for station.martinrue.com › krixano › cc7bd0251b5c404cbc4ca7409fef0b3e captured on 2023-04-20 at 01:36:17. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
So... this is what happens when you deal with multiple languages: Turns out golang's defer acts quite different from Odin's defer. In Odin, defers happen on exit of any block/scope, whereas golang's defers only happen on exit of the function. Since I used a defer in a for loop in golang, none of my gemini client requests for my crawler were closing! Sigh... anyways, it's fixed now.
8 months ago · 👍 superfxchip
I hope it wasn't too pesky or troublesome for ya! · 8 months ago