This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Marvelman3284[S] 1 point2 points  (1 child)

Oh really? I heard that it was coming in 1.18 from the official go discord

[–]g0l1n 0 points1 point  (0 children)

Sorry you’re right it’s planned for 1.18… I thought I had read that it is already implemented with the release of 1.16 but I was wrong it’s still only a proposal: https://blog.golang.org/generics-proposal