💾 Archived View for station.martinrue.com › krixano › cc7bd0251b5c404cbc4ca7409fef0b3e captured on 2023-09-08 at 18:02:43. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-07-22)
-=-=-=-=-=-=-
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.
1 year ago · 👍 superfxchip
I hope it wasn't too pesky or troublesome for ya! · 1 year ago