田欧
41f951e0cd
support default value for form ( #1138 )
...
* support default value for form
* fix bug for nil interface
* use SplitN and optimization code
* add test case
* add test cases for form(own default value)
* fix invalid code
* fix code indent
* assert order
2018-04-25 16:24:03 +08:00
田欧
dfe37ea6f1
unify assert.Equal usage ( #1327 )
...
* unify assert.Equal usage
* fix typo
2018-04-20 10:27:44 +08:00
田欧
248c522e4a
Add Contents for README because it too long ( #1325 )
2018-04-20 09:54:00 +08:00
田欧
783c7ee9c1
Add some test cases and run test cases on binding/render dir ( #1168 )
...
* Travis run test cases on binding and render dir and add some test cases for binding and render
2018-01-26 11:46:11 +08:00
田欧
b70b8ab20c
use lower if the struct is private ( #1185 )
2017-12-17 13:02:33 +08:00
田欧
9e895470dd
add deprecated test case ( #1176 )
...
* add deprecated test case
* swap assert param
* remove
2017-11-29 16:42:51 +08:00
田欧
eeb57848ca
update assert param(expect, actual) position ( #1177 )
2017-11-21 21:18:45 +08:00
田欧
7e5aff8ea7
simple code and increase coverage ( #1174 )
2017-11-21 10:03:57 +08:00
田欧
1f377cb847
Add test cases for RunTLS and each mode ( #1173 )
...
* add RunTLS test cases and add debug/test mode cases
* add release mode cases
2017-11-21 09:27:57 +08:00
田欧
9a4ecc87d6
format some codes style ( #1165 )
2017-11-11 23:24:51 -06:00
田欧
9ae1e5db2a
add package for govendor ( #1166 )
...
* add package for govendor
* fix vet error.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* add missing example.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* update gin-gonic/autotls
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2017-11-11 23:11:22 -06:00
田欧
6653d5d588
fix markdown render ( #1149 )
2017-10-29 21:38:38 -05:00
田欧
b7e8a6b9b0
style(import): not use aliase when import package ( #1146 )
2017-10-29 13:12:22 +01:00
田欧
1e88466d23
Update the comment of Version ( #1141 )
2017-10-25 21:25:25 -05:00
田欧
0cb7c44abc
Print warning log when user create one engine using gin.Default in debug mode ( #1121 )
...
* empty string check
* add log when use Default
* fix unit test error
* fix unit test error
2017-09-29 11:58:57 +08:00
田欧
3b300929e8
Empty string check ( #1101 )
2017-09-29 00:22:35 +08:00
田欧
f7376f7c7f
combine var and use tmp var ( #1108 )
2017-09-28 22:54:37 +08:00
田欧
b1ee49de8c
fix typo ( #1103 )
2017-09-08 08:56:56 +08:00
田欧
18b7c0892d
not use dot when import package ( #1077 )
2017-08-24 20:13:53 -05:00
田欧
c25254f563
reduce go cyclo ( #1076 )
...
* reduce go cyclo
* use := var
2017-08-24 20:00:49 -05:00
田欧
8be30bd382
Update readme for showing output log to file ( #1073 )
...
* Update readme for showing output log to file
* update indent
2017-08-22 13:55:32 +08:00
田欧
f4c9ac17a4
not display color when set disableColor ( #1072 )
2017-08-22 10:27:28 +08:00
田欧
a8fa424ae5
update comment ( #1057 )
2017-08-16 11:55:50 +08:00
田欧
52c2ed34b3
log format ( #1060 )
2017-08-14 14:34:29 +08:00
田欧
25d20a4463
merge args if it have same type ( #1059 )
2017-08-14 12:21:05 +08:00
田欧
d39ed41ab3
update template example ( #1038 )
...
* update template example
* add template example folder
2017-07-20 21:29:23 -05:00
田欧
7b508186dd
style: remove optional return ( #1036 )
2017-07-19 14:49:18 +02:00
田欧
7180f2ba62
not use tmp var ( #1032 )
2017-07-17 22:39:39 -05:00
田欧
199bbf2ae5
refactor(gin): use return not use else for reducing indent ( #1031 )
2017-07-17 20:11:53 -05:00
田欧
b539606eed
use return not use else ( #1028 )
2017-07-17 19:54:38 -05:00
田欧
bbd4dfee50
add warning using http2 example ( #1009 )
2017-07-12 02:01:46 -05:00
田欧
aa6d2d29f8
refactor(doc): use space not tab ( #1006 )
2017-07-11 10:28:08 -05:00
田欧
87fdff8f88
[docs] add http2 example ( #1000 )
2017-07-10 20:03:09 -05:00
田欧
44da058aa0
add favicon example ( #1001 )
2017-07-10 09:21:42 -05:00
田欧
e0fd6238d3
use comma ok and use single line ( #984 )
2017-07-06 09:49:54 -05:00
田欧
34e972e155
Separate type define ( #983 )
2017-07-06 07:59:27 -05:00
田欧
b985857899
update func comment ( #981 )
2017-07-05 20:28:16 -05:00
thinkerou
f843c33370
add test case of mode
2017-07-05 21:05:02 +08:00
thinkerou
2a36eefcff
add test case of mode
2017-07-05 20:37:28 +08:00
田欧
31ac11a298
update comment method ( #977 )
2017-07-05 04:37:24 -05:00
田欧
d535fcd598
separate type define ( #975 )
2017-07-05 02:47:36 -05:00
田欧
22fc0284e3
update readme ( #976 )
2017-07-04 21:42:56 -05:00
田欧
7d043cedb1
improved swap ( #974 )
2017-07-04 20:55:50 -05:00
田欧
ecf1b37850
add doc.go ( #970 )
2017-07-04 03:17:54 -05:00
田欧
df67c64479
fix cleanPath spell ( #969 )
2017-07-04 10:10:28 +08:00
田欧
0681715dda
add Makefile for example ( #951 )
2017-06-15 20:07:42 -05:00
田欧
1a627c2449
fmt code style ( #950 )
2017-06-14 21:14:25 -05:00
田欧
6dac8c8a48
delete else keyword ( #948 )
2017-06-12 22:36:05 -05:00
田欧
9ee5afff48
fix markdown render style ( #943 )
2017-06-12 22:35:10 -05:00
田欧
4a2b55037f
delete else keyword ( #945 )
2017-06-12 21:36:37 -05:00
田欧
53799774f4
unify license ( #942 )
2017-06-12 04:01:09 -05:00
田欧
4ad3baf44e
Add license for some files ( #940 )
2017-06-12 01:04:52 -05:00
田欧
d922143bc5
lint code for import ( #939 )
2017-06-11 21:40:15 -05:00