LookinLabs / GoBlitz

Web Framework built on top of Gin
MIT License
1 stars 0 forks source link

[REFACTO] Newer architecture with a lot of fixes #2

Closed KostLinux closed 6 months ago

KostLinux commented 6 months ago

Changes

Architecture

image
KostLinux commented 6 months ago

I haven't seen it here in changes, so I still think it misses the New containers and interfaces to initialize the services.

I've read about interfaces and containers, but i don't see where i can use them. Interfaces basically say which methods the object should have - Effective Go. You can take a look for a good example here.

I don't know what do you mean by "containers".

Matrix278 commented 6 months ago

I haven't seen it here in changes, so I still think it misses the New containers and interfaces to initialize the services.

I've read about interfaces and containers, but i don't see where i can use them. Interfaces basically say which methods the object should have - Effective Go. You can take a look for a good example here.

I don't know what do you mean by "containers".

Actually, they were named constructors.