Empty string or string with current location (GET/POST location)
Username:
Empyty string: not logged in, else username
IsAdmin
0: User
1: Admin
Custom:
String-Array/slice for custom params etc.
Outsource to:
[x] templatehelpers
+: richtige Datentypen (int für UserID, string f. name usw.)
WIRD NICHT UMGESETZT
====================
PageParams:
- NotificationType:
- -1: No notification
- 0: Error
- 1: Success
- Notification:
- Empty string or string with const-Error
- ReqDir:
- Empty string or string with current location (GET/POST location)
- Username:
- Empyty string: not logged in, else username
- IsAdmin
- 0: User
- 1: Admin
- Custom:
- String-Array/slice for custom params etc.
Outsource to:
- [x] templatehelpers
- +: richtige Datentypen (int für UserID, string f. name usw.)
PageParams, PageUserParams, ... in ein Einheitliches Prinzip
WIRD NICHT UMGESETZT
PageParams:
Outsource to:
[x] templatehelpers
+: richtige Datentypen (int für UserID, string f. name usw.)
WIRD UMGESETZT
Alternative: 100% Dynamisch machen, ein großer String-Slice, der jeweils dynamisch verarbeitet wird.
golang maps (https://blog.golang.org/go-maps-in-action)
-: einheitlicher datentyp (string)
NotificationType:
Notification:
Custom:
DONE: