>> Seems to me that most generics implementations use a capital letter >> abstracted type syntax that I hate. >> > >This is just a convention and not part of the syntax, which means it's >irrelevant to the discussion about the proposal. You can easily use >lowercase letters/identifiers: >https://go2goplay.golang.org/p/eWgJSLNTZw8
I was inquiring about the possibility of no identifiers or abstraction but simply like Gos non generic functions (possibly reversed if needed). Using type OR type. func (String | []byte firstInput, myType | publicKey secondInput) { firstInput[0] firstInput[[]byte] } -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/17BEE437-A5BB-4152-8215-B3F27A7265C1%40gmail.com.