Manu Mtz-Almeida
|
c391520654
|
More unit tests for Context .Set and .Get
|
2015-05-07 16:00:37 +02:00 |
|
Manu Mtz-Almeida
|
2d8f0a4801
|
Performance improvements when rendering
- Fast path for JSON, XML and plain text rendering
|
2015-05-07 12:44:52 +02:00 |
|
Manu Mtz-Almeida
|
eb3e9293ed
|
Renames []HandleFunc to HandlersChain
|
2015-05-07 11:30:01 +02:00 |
|
Manu Mtz-Almeida
|
79131ac84d
|
Tail call optimization
|
2015-05-07 11:28:25 +02:00 |
|
Manu Mtz-Almeida
|
f1a2b94b36
|
Merge branch 'develop' of github.com:gin-gonic/gin into develop
|
2015-05-06 22:31:19 +02:00 |
|
Manu Mtz-Almeida
|
495e6e116e
|
Adds IndentedJSON
|
2015-05-06 22:31:01 +02:00 |
|
Manu Mtz.-Almeida
|
7cd2f2694d
|
Merge pull request #275 from kanerogers/patch-1
Teeny tiny typo fix!
|
2015-05-06 18:20:26 +02:00 |
|
Manu Mtz-Almeida
|
f212ae7728
|
Updates tree.go + fixes + unit tests
|
2015-05-05 16:37:33 +02:00 |
|
Manu Mtz-Almeida
|
295201dad2
|
Adds wercker.yml
|
2015-05-05 15:19:19 +02:00 |
|
Manu Mtz-Almeida
|
f414648384
|
- More unit tests
- Improves HTML debug render
- InputHolder removed
- More debug logs
|
2015-05-05 15:06:38 +02:00 |
|
Manu Mtz-Almeida
|
0a192fb0fa
|
Tons of unit tests
|
2015-04-09 12:15:02 +02:00 |
|
Manu Mtz-Almeida
|
ac1ee3fb86
|
Adds unit tests for Utils
|
2015-04-08 15:32:50 +02:00 |
|
Manu Mtz-Almeida
|
c61c547539
|
More unit tests for ResponseWriter
|
2015-04-08 15:20:39 +02:00 |
|
Manu Mtz-Almeida
|
a28104fa21
|
Better unit tests for BasicAuth middleware
|
2015-04-08 15:17:41 +02:00 |
|
Manu Mtz-Almeida
|
4d315f474b
|
More unit tests
|
2015-04-08 14:24:49 +02:00 |
|
Manu Mtz-Almeida
|
8b26264574
|
Merge branch 'develop' into performance
Conflicts:
context.go
context_test.go
gin_test.go
recovery_test.go
utils.go
|
2015-04-08 13:37:25 +02:00 |
|
Manu Mtz-Almeida
|
54b3decc21
|
More unit tests
|
2015-04-08 13:30:17 +02:00 |
|
Manu Mtz-Almeida
|
ac0ad2fed8
|
Improves unit tests
|
2015-04-08 02:58:35 +02:00 |
|
Manu Mtz-Almeida
|
67f8f6bb69
|
Captures the path before any middleware modifies it
|
2015-04-07 23:49:53 +02:00 |
|
Manu Mtz-Almeida
|
9355274051
|
Updates godep
|
2015-04-07 23:34:55 +02:00 |
|
Manu Mtz-Almeida
|
873aecefa9
|
Renames DefaultLogFile to DefaultWriter
|
2015-04-07 23:34:16 +02:00 |
|
Manu Mtz-Almeida
|
5ee822fcee
|
Improves Context.Input
|
2015-04-07 23:28:49 +02:00 |
|
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 |
|
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 |
|
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 |
|
Manu Mtz.-Almeida
|
1479952fbc
|
Merge pull request #139 from mirzac/fixed-debugPrint
fixed debugPrint
|
2014-10-28 14:34:55 +01:00 |
|
Manu Mtz-Almeida
|
aa7b00a083
|
General refactoring. Part 2.
|
2014-10-09 01:40:42 +02:00 |
|
Manu Mtz-Almeida
|
030706c39a
|
Using absolutePath in static properly
|
2014-10-08 21:49:08 +02:00 |
|
Manu Mtz-Almeida
|
07a3961941
|
General refactoring
|
2014-10-08 21:37:26 +02:00 |
|
Manu Mtz.-Almeida
|
94415333ed
|
Merge pull request #120 from bredov/issue-119
Fix for #119. gin.LoadHTML* incorrectly works in debug mode.
|
2014-10-08 19:29:03 +02:00 |
|
Manu Mtz.-Almeida
|
292f1ec6df
|
Merge pull request #132 from smira/develop
Validate should ignore unexported struct fields.
|
2014-10-08 19:21:04 +02:00 |
|
Manu Mtz-Almeida
|
0808f8a824
|
Adds logger source code
|
2014-09-13 20:37:27 +02:00 |
|
Manu Mtz.-Almeida
|
6fcc0a5b1d
|
Updates logger screenshot
|
2014-09-13 20:26:47 +02:00 |
|
Manu Mtz-Almeida
|
a6ef27d321
|
Merge branch 'negotiation' into develop
|
2014-09-13 20:10:09 +02:00 |
|
Manu Mtz-Almeida
|
b4a6510edf
|
Enables colored tag for http method in gin.Logger()
|
2014-09-13 15:51:29 +02:00 |
|
Manu Mtz-Almeida
|
e10ed9482d
|
Merge branch 'master' of github.com:se77en/gin into develop
|
2014-09-13 15:47:26 +02:00 |
|
Manu Mtz-Almeida
|
fd2e342569
|
Adds API for interrogating current mode
It returns one of the following values:
- gin. DebugMode
- gin. ReleaseMode
- gin. TestMode
|
2014-09-08 20:54:08 +02:00 |
|
Manu Mtz-Almeida
|
d3249800e9
|
Removing exclamation marks in Go.
|
2014-09-03 17:42:49 +02:00 |
|
Manu Mtz-Almeida
|
21e53c0db6
|
Fixes responseWriter.Size()
- "written" boolean is not longer needed
- size is reseted
- addition instead of assignation
|
2014-09-03 04:25:08 +02:00 |
|
Manu Mtz-Almeida
|
012c935a46
|
Better errors in Context.Negotiation
|
2014-08-31 18:41:11 +02:00 |
|
Manu Mtz-Almeida
|
275bdc194e
|
Fixes Content.Negotiate API
|
2014-08-31 18:28:18 +02:00 |
|
Manu Mtz-Almeida
|
ffea7e88a2
|
Working on content type negotiation API
|
2014-08-30 22:22:57 +02:00 |
|
Manu Mtz-Almeida
|
3b079bb6f7
|
Merge branch 'master' into develop
|
2014-08-29 19:50:58 +02:00 |
|
Manu Mtz-Almeida
|
8e5397bfa0
|
Adds in-code license
|
2014-08-29 19:49:50 +02:00 |
|
Manu Mtz-Almeida
|
8f1bbc6b6a
|
gin.responseWriter implements http.Flusher and http.CloseNotifier
|
2014-08-26 17:52:58 +02:00 |
|
Manu Mtz-Almeida
|
7a87c5cbd4
|
Referencing the http.Hijacker interface
|
2014-08-26 17:50:07 +02:00 |
|
Manu Mtz-Almeida
|
b3f322c5fc
|
Fixes bug when status code is negative
|
2014-08-24 04:35:11 +02:00 |
|
Manu Mtz.-Almeida
|
45fcd18064
|
Merge pull request #99 from loongmxbt/patch-1
Update README.md
|
2014-08-21 16:12:03 +02:00 |
|
Manu Mtz-Almeida
|
2d94e27243
|
Merge branch 'develop'
|
2014-08-21 01:15:31 +02:00 |
|
Manu Mtz-Almeida
|
a3a575392c
|
Merge branch 'patch-1' of https://github.com/yosssi/gin-1 into develop
|
2014-08-21 01:14:49 +02:00 |
|
Manu Mtz-Almeida
|
2ec71baf25
|
Updates CHANGELOG and AUTHORS
|
2014-08-21 01:13:37 +02:00 |
|
Manu Mtz-Almeida
|
46225ea53a
|
Fixes html debug mode
|
2014-08-21 01:04:35 +02:00 |
|
Manu Mtz-Almeida
|
94f2f3f7eb
|
Using test mode
|
2014-08-21 01:01:42 +02:00 |
|
Manu Mtz-Almeida
|
0ed259ca34
|
Adds TestMode
|
2014-08-21 01:01:05 +02:00 |
|
Manu Mtz-Almeida
|
378610b3b2
|
HTML template debug mode.
- theHTML templates are reloaded each time
|
2014-08-20 18:14:10 +02:00 |
|
Manu Mtz-Almeida
|
7963d018a8
|
Merge branch 'Req-to-Request' of https://github.com/yuyabee/gin into develop
|
2014-08-19 16:08:11 +02:00 |
|
Manu Mtz-Almeida
|
a0437ff9f2
|
Typo in AUTHORS
|
2014-08-19 03:41:05 +02:00 |
|
Manu Mtz-Almeida
|
809eee8a72
|
Adds debug mode (part 1)
- Adds API to switch the gin's mode
- Log listening port
- Log routes
|
2014-08-19 03:40:52 +02:00 |
|
Manu Mtz-Almeida
|
312e032960
|
Updates AUTHORS.md
|
2014-08-18 21:01:54 +02:00 |
|
Manu Mtz-Almeida
|
2b486327db
|
Updates CHANGELOG
|
2014-08-18 20:55:33 +02:00 |
|
Manu Mtz-Almeida
|
d85245b5aa
|
Improves unit tests
- Reusing much more code
- More coverage
- Cleanup
- Fixes some cases
|
2014-08-18 19:48:48 +02:00 |
|
Manu Mtz-Almeida
|
e11ff5bacb
|
response_writes uses 200 as default status code.
|
2014-08-18 19:48:01 +02:00 |
|
Manu Mtz-Almeida
|
3bd33ca666
|
Merge branch 'tests' of https://github.com/alexandernyquist/gin into alexandernyquist-tests
|
2014-08-18 18:23:48 +02:00 |
|