RefactoringGuru / design-patterns-go

340 stars 93 forks source link

Replace interface reference with Composition #14

Open nikhil-thomas opened 1 year ago

nikhil-thomas commented 1 year ago

Replace reference to Department inferface with reference to DepartmaneBase struct. In the existing code, DepartmentBase is unused.