This video discusses how to use interfaces in Go. Topics covered include:
The basics
Interface composition
The empty interface
Type switches with interfaces
Implementing interfaces with value types versus pointers
Best practices
Follow me on Twitter @vansimke
For more training videos, feel free to check out my videos at
Pluralsight.com (https://www.pluralsight.com/authors/m...)
where I have courses on Go, JavaScript, and many other topics.
If you aren't familiar with Pluralsight and you want to check it out,
just let me know in the comments and I'll get you setup with a 30-day trial.