MCPcopy Index your code
hub / github.com/derekbanas/Go-Tutorial / getSumGen

Function getSumGen

hellogo.go:118–120  ·  view source on GitHub ↗
(x T, y T)

Source from the content-addressed store, hash-verified

116}
117
118func getSumGen[T MyConstraint](x T, y T) T {
119 return x + y
120}
121
122// ----- STRUCTS -----
123type customer struct {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected