Commit Graph

22 Commits

Author SHA1 Message Date
51d8387bf6 refactor in main.go 2021-07-17 10:22:32 +02:00
aa1e6ad5b8 add internal/chi/middleware, replace gin with go-chi 2021-07-17 09:56:12 +02:00
ed7ecd8758 delete the pkg directory 2021-07-16 17:44:41 +02:00
c397032778 feat: add an env variable that disables access log 2021-05-29 08:22:37 +02:00
a685171061 bump github.com/Kichiyaki/gopgutil 2021-05-21 23:04:01 +02:00
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
c05cc6ee9d add info when server startup 2021-05-02 09:30:02 +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
5bd09500c1 bump github.com/Kichiyaki/ginlogrus and github.com/Kichiyaki/go-pg-logrus-query-logger/v10 2021-05-02 08:10:54 +02:00
7b9487fd8d bump github.com/Kichiyaki/gin-logrus and github.com/Kichiyaki/go-pg-logrus-query-logger/v10 2021-04-28 20:08:22 +02:00
fb1b65d8a4 remove DebugHook 2021-04-25 18:29:50 +02:00
b96d2391ff move query logger to the separate package, bump github.com/Kichiyaki/gin-logrus 2021-04-23 19:58:14 +02:00
f85a21e86f move logger to the separate package, add checks if models are valid go-pg hooks 2021-04-23 19:29:13 +02:00
1fc884b151 use logrus.JSONFormatter instead of logrus.TextFormatter when mode == production 2021-04-22 18:24:40 +02:00
e936b9b0ed add a new field to the Profession graphql type (Qualifications) 2021-03-21 18:19:22 +01:00
a44afa628c update main.go, bugfixes 2021-03-06 14:02:48 +01:00
9f881aba1d add a new middleware - Logger 2021-03-06 10:33:47 +01:00
d39a6317fc add two new packages - envutils and db, add .gitignore 2021-02-27 10:13:35 +01:00
0cf8230f35 init 2021-02-21 10:17:54 +01:00