From 3132bce2a8166e3f9818059af4de8d69a09bbf12 Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 19 Dec 2024 09:57:42 +0000 Subject: move more code in the factory --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 78052d6..86dc307 100644 --- a/README.md +++ b/README.md @@ -23,5 +23,13 @@ also do `make lint` to get a linting / critique of all the source files (`lint` runs `fmt` first, so you need to have installed the packages above as well). -Note that the `Makefile` is *for development*, it's not used on -production machines. +Note that the `Makefile` is *for development*, it's not used after the +code is built. + +## Structure + +* the entry points go under `cmd/`, with a matching target in the + `Makefile` +* the `factory` constructs all the singletons that actually do things + (e.g. listeners, models, clients, business logic objects) +* the `config` handles all configuration for the entire application -- cgit v1.2.3