Your playground example didn't try to pass a UserID to a function accepting a PostID, but if you do that, you'll see the error:
https://play.golang.org/p/vyiJ_sLzy4O
Your playground example didn't try to pass a UserID to a function accepting a PostID, but if you do that, you'll see the error:
https://play.golang.org/p/vyiJ_sLzy4O