Commit Graph

28 Commits

Author SHA1 Message Date
Javier Provecho 007bd5124a closes , code from bobbo@b4f0b50 2016-04-14 23:47:49 +02:00
Manu Mtz-Almeida a7c957af7d Adds supports for custom JSON Content-type 2015-06-13 04:29:10 +02:00
Manu Mtz-Almeida 1f56e50083 Using Render() instead of Write() 2015-06-04 05:25:21 +02:00
Manu Mtz-Almeida 66251d1741 Simplifies c.File() 2015-05-21 15:49:10 +02:00
Manu Mtz-Almeida 947b53d4a2 New Render API 2015-05-18 15:45:24 +02:00
Manu Mtz-Almeida a9dad532ae Performance improvement in renders 2015-05-11 01:02:17 +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 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 3abeba82fc Context redirect uses the built-in redirect facility 2015-04-07 12:27:02 +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 df3ed787e1 Fixes debug HTML rendering:
- Stateless algorithm
2015-03-31 17:36:13 +02:00
Manu Mtz-Almeida 8f31fbc502 Refactors render.go 2015-03-23 04:42:05 +01:00
Javier Provecho Fernandez cf8150ed2b Add HTML no template string output support 2015-03-08 17:50:58 +01:00
Ignacio Galindo b69dde8e68 Specify utf-8 as content type charset on renderers 2015-01-29 20:14:13 -06:00
Ludwig Valda Vasquez e5a7bcd6df fix typo in PR for 2014-09-17 07:47:29 +04:00
Ludwig Valda Vasquez 97ae4a6b65 Fix for . gin.LoadHTML* incorrectly works in debug mode. 2014-09-17 07:33:13 +04:00
Manu Mtz-Almeida 8e5397bfa0 Adds in-code license 2014-08-29 19:49:50 +02:00
Manu Mtz-Almeida 46225ea53a Fixes html debug mode 2014-08-21 01:04:35 +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 ceec1b6443 Merge branch 'redirect' of https://github.com/alexandernyquist/gin into develop 2014-08-18 17:19:32 +02:00
Manu Mtz-Almeida dcafad3ced Deferring WriteHeader. Part 1 2014-08-18 05:24:48 +02:00
Alexander Nyquist e350ae7c7e Removed redundancy when redirecting 2014-07-29 00:53:56 +02:00
Alexander Nyquist 593de4e913 Added support for redirects 2014-07-29 00:48:02 +02:00
mopemoepe 2947981b61 Fix Corrupted plainRender 2014-07-18 08:56:59 +09:00
Manu Mtz-Almeida a1ff907768 Fixed Content-Type for json render. Thank you @mdigger 2014-07-16 02:49:22 +02:00
Manu Mtz-Almeida 5ea7a92267 Adds flexible render system 2014-07-15 17:41:56 +02:00