Event JSON
{
"id": "d509a34d30a8d71e9fa07d24bbd45180904a8799e1925640bdc91ebfe91c2ee3",
"pubkey": "584b9282fbc3d56bde321066766c0ebca3c5508e8d1596a8c7f0a15ca830571c",
"created_at": 1702400321,
"kind": 1,
"tags": [
[
"p",
"82ac0fd58858a39b32fe7820c761e4259d0ae3865b5e5bf5e27d8dee24287a6c",
"wss://relay.mostr.pub"
],
[
"p",
"bf1957ed6b9c28a6ed19f6d4f3b146eeadaee1bbc9d03767b8624f0c09b2d0c5",
"wss://relay.mostr.pub"
],
[
"e",
"06301052960907bed17d067711c01d692a40adaced1feafd7954dbe678f57e1a",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://emacs.ch/users/louis/statuses/111568507483177372",
"activitypub"
]
],
"content": "nostr:npub1s2kql4vgtz3ekvh70qsvwc0yykws4cuxtd09ha0z0kx7ufpg0fkqhp8cla You fell into the popular Go trap, in that you essentially assign only the last of the newTask assignments into your map, so all tasks are effectively the same one task.\n\nThat issue is so popular that the Go designers are planning changes to the language:\n\nhttps://github.com/golang/go/discussions/56010\n\nJust do a nt := newTask() inside the loop and omit the declaration in line 83.\n\nDoes that solve your issue?\n\nhttps://media.emacs.ch/media_attachments/files/111/568/497/237/294/732/original/c674768635434085.png",
"sig": "941ad674f301428e22904ef89ddba5b8e3d43c39b4674585625dda7f5d2fb843bd3c1d685560635aa47c1b80f7856c0f0b65905f223451a979e0fc10c830531f"
}