mtchuyen / Golang-Tips

Tips in Golang programming
3 stars 2 forks source link

Golang Interface #3

Open mtchuyen opened 4 years ago

mtchuyen commented 4 years ago

A simple example:

https://medium.com/better-programming/a-real-world-example-of-go-interfaces-98e89b2ddb67

mtchuyen commented 3 years ago

What are some examples of Go interfaces?

https://newbedev.com/what-are-some-examples-of-go-interfaces

mtchuyen commented 2 years ago

Golang Interfaces

https://medium.com/@stevegall67/golang-interfaces-ea57bfb96d1c

Beware of Go’s Interfaces

https://medium.com/@momchil.dev/beware-of-gos-interfaces-c6c1f3d9f683

mtchuyen commented 2 years ago

Why can't an interface type be a receiver

https://groups.google.com/g/golang-nuts/c/-eq-Zrjc5Bs

https://jerryan.medium.com/interfaces-example-in-go-ca34a7ec001d

mtchuyen commented 2 years ago

Functions implementing interfaces in go

https://towardsdev.com/interfaces-golang-fa55af8a9883

mtchuyen commented 2 years ago

Self referencing interfaces in golang 1.18:

https://medium.com/@mier85/self-referencing-interfaces-in-golang-1-18-bcd6b5701992