Commit Graph

23 Commits

Author SHA1 Message Date
b15dd6f714 update error messages 2021-05-14 15:34:26 +02:00
f907e7294e add github.com/Kichiyaki/goutil, github.com/Kichiyaki/appmode, github.com/Kichiyaki/gopgutil 2021-05-02 13:16:32 +02:00
804264375a replace os.Getenv with envutil.GetenvString 2021-05-02 09:23:35 +02:00
89ce683e08 move/rename packages 2021-05-02 09:15:10 +02:00
7de549f183 rename/move some of the packages/files 2021-05-02 08:36:10 +02:00
78531f8a13 don't return details when MODE == "production" (errorutils.Wrap) 2021-04-19 22:23:10 +02:00
0b14efd014 replace fmt.Errorf with errors.New/errors.Errorf 2021-03-27 16:20:55 +01:00
c3c57b780c add a new method to the Qualification usecase/repository - GetSimilar 2021-03-27 16:03:43 +01:00
6c28c9798d move getQueryComplexity to a separate package 2021-03-24 05:43:43 +01:00
91a35dd2e7 add complexity limit 2021-03-20 16:44:56 +01:00
31f632e653 add user resolvers implementation 2021-03-06 12:29:33 +01:00
cc93a57af9 add UserInput sanitization 2021-03-06 08:56:54 +01:00
56c8c9160b rename two utils (sqlutils.SanitizeSortExpression -> sqlutils.SanitizeSort, sqlutils.SanitizeSortExpressions -> sqlutils.SanitizeSorts), add a new helper type to db package (Sort) 2021-03-06 08:44:49 +01:00
4746b4c153 question - pg_repository - add a new method GenerateTest 2021-03-04 19:27:00 +01:00
ff9e6289ee [WIP]: initial version of question repository 2021-02-28 17:54:40 +01:00
17c0d6c4e5 add a new package - filestorage 2021-02-28 15:01:30 +01:00
a9d7250623 add user usecase/repository | add admin acc creation when none exists 2021-02-27 14:01:59 +01:00
3414f8cbb5 add sort expression sanitization 2021-02-27 12:17:29 +01:00
f49dfc5c43 profession: add pg_repository, add a new package errorutils 2021-02-27 11:33:16 +01:00
d39a6317fc add two new packages - envutils and db, add .gitignore 2021-02-27 10:13:35 +01:00
888734b722 add two new models QualificationFilter and QualificationFilterOr, add struct tags to the QualificationInput and two new fields - AssociateProfession and DissociateProfession 2021-02-27 08:53:51 +01:00
5fe94741ce move sql helpers to the other package, all fields in all inputs are now pointers, add a new model - QualificationToProfession 2021-02-23 19:07:55 +01:00
0cf8230f35 init 2021-02-21 10:17:54 +01:00