Commit Graph

970 Commits

Author SHA1 Message Date
Manu Mtz-Almeida
1532be7c10 Context Accepted is an exported variable 2015-04-07 23:28:36 +02:00
Manu Mtz.-Almeida
408108f4e7 Merge pull request #254 from bfosberry/fixing-static-bug
Fixing bug with static pathing
2015-04-07 23:19:45 +02:00
Manu Mtz-Almeida
af4980ece2 Performance improvement in Auth middleware 2015-04-07 20:00:10 +02:00
Manu Mtz-Almeida
a4eadceb45 Merge branch 'develop' into performance
Conflicts:
	binding/form_mapping.go
	context_test.go
2015-04-07 19:59:43 +02:00
Manu Mtz-Almeida
d33079d0ec Performance improvement when writing formatted strings 2015-04-07 19:54:17 +02:00
Manu Mtz-Almeida
3fce8efcc6 Renames LoggerInFile() to LoggerWithFile() 2015-04-07 18:56:17 +02:00
Manu Mtz-Almeida
dcdf7b92f4 Error middleware does not write if the it is already written 2015-04-07 18:52:33 +02:00
Manu Mtz-Almeida
598c78297c NoWritten and DefaultStatus must be unexported variables 2015-04-07 18:50:16 +02:00
Manu Mtz-Almeida
6c788a4300 Adds default file log option 2015-04-07 18:37:17 +02:00
Manu Mtz-Almeida
0b7dce4bc9 Updates godeps 2015-04-07 18:14:49 +02:00
Manu Mtz-Almeida
9828435f70 Fixes failing unit test 2015-04-07 18:14:33 +02:00
Manu Mtz-Almeida
a887e395f3 Fixes integration with "go-validate-yourself"
http://stackoverflow.com/questions/29138591/hiding-nil-values-understanding-why-golang-fails-here
2015-04-07 16:06:53 +02:00
Manu Mtz-Almeida
ee3b67eda1 Experimenting with new validation library!!! 2015-04-07 12:30:16 +02:00
Manu Mtz-Almeida
ea962038e1 Cosmetic changes 2015-04-07 12:27:23 +02:00
Manu Mtz-Almeida
3abeba82fc Context redirect uses the built-in redirect facility 2015-04-07 12:27:02 +02:00
Manu Mtz-Almeida
1f6304ca25 Cleaning up performance branch 2015-04-07 12:22:38 +02:00
Brendan Fosberry
6167586d8f Fixing bug with static pathing 2015-04-06 14:26:16 -05:00
Manu Mtz-Almeida
3faa81a464 Removes unit test in performance branch temporarily. 2015-03-31 21:53:38 +02:00
Manu Mtz-Almeida
2915fa0ffe Zero allocation router, first commit 2015-03-31 21:39:06 +02:00
Manu Mtz-Almeida
c0e8cedc98 Updates Context tests 2015-03-31 20:12:10 +02:00
Manu Mtz-Almeida
32d76614aa Adds inputHolder 2015-03-31 18:35:36 +02:00
Manu Mtz-Almeida
1213878e9a Using data first argument 2015-03-31 18:04:52 +02:00
Manu Mtz-Almeida
abcc6d9dec Adds indented JSON render 2015-03-31 18:02:38 +02:00
Manu Mtz-Almeida
d4413b6e91 Refactors binding module 2015-03-31 17:51:10 +02:00
Manu Mtz-Almeida
18880f9215 ForwardedFor() is deprecated 2015-03-31 17:44:45 +02:00
Manu Mtz-Almeida
4a37b0808b Refactors Context initialization 2015-03-31 17:39:30 +02:00
Manu Mtz-Almeida
df3ed787e1 Fixes debug HTML rendering:
- Stateless algorithm
2015-03-31 17:36:13 +02:00
Martin Karlsch
0569c5fb95 add support for embedded struct to Bind 2015-03-27 08:31:27 -07:00
Manu Mtz-Almeida
59d949d350 Moves errorMsg to errors.go 2015-03-26 14:10:46 +01:00
Manu Mtz-Almeida
9d59fc51bc math package is missing 2015-03-26 14:07:01 +01:00
Manu Mtz-Almeida
31323f694b AbortIndex is missing 2015-03-26 04:27:34 +01:00
Manu Mtz-Almeida
1e417c7a50 Refactors Context allocation 2015-03-25 19:33:17 +01:00
Manu Mtz-Almeida
aa9fad5ad8 Fixes NoMethod / NoRoute handlers 2015-03-25 16:53:58 +01:00
Manu Mtz-Almeida
48fec0650d Cosmetic changes 2015-03-23 06:03:12 +01:00
Manu Mtz-Almeida
3e3ced70d4 Using log.Panic instead 2015-03-23 05:50:10 +01:00
Manu Mtz-Almeida
34b1d0262e Refactors response_writer.go 2015-03-23 04:45:33 +01:00
Manu Mtz-Almeida
251b73fc70 Fixes #239 bug 2015-03-23 04:45:03 +01:00
Manu Mtz-Almeida
8f31fbc502 Refactors render.go 2015-03-23 04:42:05 +01:00
Manu Mtz-Almeida
615c62d736 Some cosmetic changes 2015-03-23 04:41:29 +01:00
Manu Mtz-Almeida
c8ee142717 Google App Engine does not support fmt. Using log instead 2015-03-23 04:40:33 +01:00
Manu Mtz-Almeida
3285007fbb Refactores context.go 2015-03-23 04:39:53 +01:00
Manu Mtz-Almeida
4103061a4a Refactores BasicAuth 2015-03-23 04:38:32 +01:00
Javier Provecho Fernandez
5857ddcd2c Merge pull request #243 from mattyw/patch-1
gin/context.go: Minor change in Abort comment
2015-03-18 19:08:48 +01:00
Matt Williams
e8fc0c74b4 gin/context.go: Minor change in Abort comment 2015-03-17 18:51:03 +00:00
Javier Provecho Fernandez
e2fa89777e Merge branch 'develop' | v0.5 release 2015-03-09 02:51:20 +01:00
Javier Provecho Fernandez
2b85363447 Update AUTHORS and CHANGELOG 2015-03-09 02:50:24 +01:00
Javier Provecho Fernandez
1921ccbaf3 Merge pull request #235 from donileo/NoMethod
Include NoMethod method to Gin to allow middleware handling of 405 errors
2015-03-09 01:30:35 +01:00
Adonis
5feda9fa7a added missing MIMEMultipartPOSTFORM and changed http.Router Godep.json SHA 2015-03-08 20:25:51 -04:00
Adonis
a04d9e271c Include NoMethod Method to Gin to allow middlewares to handle 405 No Method Errors in the gin router 2015-03-08 19:37:27 -04:00
Javier Provecho Fernandez
cf8150ed2b Add HTML no template string output support #197 2015-03-08 17:50:58 +01:00