Generic methods coming to Go

7 months ago by kamstrup to c/golang

Proposal: Generic Methods for Go A change of view. Background For clarity, in the following we use the term concrete method (or just method when the context is clear) to describe a non-interface me...

Proposal for adding generic methods to structs (not interfaces) accepted last month ✨

While not giving us everything we could want, it's still gonna be a welcome feature.

golang
golang

@programming.dev

login for more options
2783
317
26

This is a community dedicated to the go programming language.

Useful Links:

Rules:

  • Posts must be relevant to Go
  • No NSFW content
  • No hate speech, bigotry, etc
  • Try to keep discussions on topic
  • No spam of tools/companies/advertisements
  • It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

go to feed...