//
pkg.gl
Category
github.com/ardanlabs/gotraining
topics
go
design
composition
pollution
directory
0.0.0-20250227122322-59689edd5517
Repository:
https://github.com/ardanlabs/gotraining.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
0
Dependents
0
Files
0
#
Packages
example1
This is an example that creates interface pollution by improperly using an interface when one is not needed.
example2
This is an example that removes the interface pollution by removing the interface and using the concrete type directly.