You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root package/directory only contains the domain types and logic. This will probably be limited to notification service interfaces and notification types. This package may not depend on any other package in this repo.
5
+
6
+
cmd contains the main package and takes care of meta sutch as configuration and binding all other packages together, This package may depend on any other package
7
+
8
+
All other packages represent a functionality or dependency and may only depend on the root package as well as external packages.
9
+
10
+
See [Project structure in go](https://medium.com/@benbjohnson/structuring-applications-in-go-3b04be4ff091) for further explanation.
4
11
5
12
## API Structure
13
+
One api endpoint for every notification type.
14
+
See readme for existing api endpoints
15
+
16
+
A post request to an endpoint with the matching jason notification type should send a notification and on success return the sent notification in json.
17
+
18
+
## Dependency injection
19
+
20
+
The web package has some weird dependency injection.
6
21
7
-
## Dependency injection
22
+
For now, take a look at it until you understand it. It looks like it does for a good reason.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,8 @@ You must also allow mail api calls:
77
77
You can either set this project up manually or with a simple docker compose setup. The manual setup is recommended if you'll be doing extensive development.
78
78
79
79
Please referer to the software design document before starting development: `DESIGN.md`
80
+
81
+
See issues for suggested features.
80
82
### Manual
81
83
Make sure you have golang installed and you `$GOPATH` setup.
82
84
1. Follow the steps in [Setup](#setup) and enable debug mode.
0 commit comments