bxcodec / go-clean-arch

Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture
MIT License
9.06k stars 1.19k forks source link

Question: Why use cases are interface? #33

Closed xpol closed 4 years ago

xpol commented 4 years ago

Hi, Thank you for helping us understanding how to implementation clean architecture in go.

I just wonder why use cases are interfaces instead of just struct with methods.