Golang interface using value / pointer ref



Golang interface the important thing to know before writing your class / type as pointer or value class.

https://play.golang.org/p/173qSbZ5FeL

Comments

Popular posts from this blog

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

android build issue with version compatibility with agp and hilt : An exception occurred applying plugin request [id: 'com.google.dagger.hilt.android', version: '2.52']