You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a demo of one of the most confusing but useful topics in Go: how methods are attached to types rather than classes, unlike other modern languages like C , Python, and Java.
The tests can be executed using
go test -v
About
Demonstrates the unique properties of type methods in Go