16 Commits

Author SHA1 Message Date
Ming Deng
e7d91a2bed Refator:
1. Move BindXXX core logic to context.Context for two reasons:
   1.1 Controller should be stateless -- Due to historical reason, it's hard for us to do this but we should try it
   1.2 If users didn't use Controller to write their functions, they should be allowed to use those methods
2. Move XXXResp to context.Context
2021-08-10 23:27:06 +08:00
loyalsoldier
1023f83a92
Fix lint and format code in server dir 2021-06-07 19:03:40 +08:00
loyalsoldier
91d993b7e2
Fix imports by gci 2021-05-19 22:28:05 +08:00
Maneesh Babu M
378ba97524
Fix golang ci lint error 2021-04-24 15:20:26 +00:00
Maneesh Babu M
b622125a76
Update tests 2021-04-23 03:41:31 +00:00
Maneesh Babu M
3a58f9dc8a
Update tests 2021-04-23 03:28:55 +00:00
Maneesh Babu M
5e7f9465b2
Update test response 2021-04-23 03:16:12 +00:00
Maneesh Babu M
6158de13ef
Add tests 2021-04-23 02:54:07 +00:00
byene0923
c349775c49 format the code 2021-04-19 00:03:30 +08:00
byene0923
89c2b85471 Modify bind() method that users do not pass "Content Type" 2021-04-18 23:59:14 +08:00
byene0923
8b92ed6504 Proposal:Add Bind() method for web.Controller 2021-04-16 22:12:06 +08:00
Ming Deng
ad00897b0f Fix 4365 2020-12-19 21:13:30 +08:00
Ming Deng
d4da82ef77 format code 2020-12-14 12:34:55 +08:00
Ming Deng
7bc6010604 rename to v2 2020-12-14 11:12:00 +08:00
Ming Deng
a70f7fc920 using new organization 2020-12-13 23:09:19 +08:00
Ming Deng
14c1b76569 remove pkg directory;
remove build directory;
remove githook directory;
2020-10-08 18:29:36 +08:00