Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 235 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 235 Bytes

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