structs inside model package or structs with DB operations ?
well that was my first project. so mq had rabbitmq related stuff, database had database related stuff, model had all models (database and everything)
I prefer “service interfaces” There’s a package for one service’s interface, which includes all the types it requires and provides
Обсуждают сегодня