thinkerou
7ee83ec3d5
Remove go1.12 support ( #2679 )
...
* Revert "Adding ppc64le architecture support on travis-ci (#2538 )"
This reverts commit fca3f95d7c
.
* not support go1.12
* fix
* Update errors_test.go
* Update debug.go
2021-11-24 21:37:56 +08:00
Qt
f4bc259de3
fix error gin support min Go version ( #2584 )
...
Co-authored-by: thinkerou <thinkerou@gmail.com>
2021-01-12 08:32:04 +08:00
thinkerou
2ee0e96394
Drop support go1.10 ( #2147 )
2019-11-24 23:07:56 +08:00
guonaihong
b67bc8f005
Gin1.5 bytes.Buffer to strings.Builder ( #1939 )
...
* Replace bytes.Buffer to strings.Builder
* Merge the latest changes
* Update errors.go
2019-06-29 20:43:32 +08:00
Dan Markham
fc920dc561
Drop Support for go1.8 and go1.9 ( #1933 )
2019-06-28 23:43:07 +08:00
Uwe Dauernheim
04eecb1283
Use DefaultWriter and DefaultErrorWriter for debug messages ( #1891 )
...
Aligns behaviour according to documentation.
2019-05-10 14:03:25 +08:00
Dan Markham
094f9a9105
v1.4.0 + #1631 (remove go1.6/go1,7 support) ( #1851 )
...
* remove go1.6 support
* remove build tag
* remove todo
* remove go1.6 support: https://github.com/gin-gonic/gin/pull/1383/commits
* update readme
* remove go1.7 support
* fix embedmd error
* test
* revert it
* revert it
* remove context_17
* add pusher test
* v1.4.0 rc1
2019-05-07 18:32:32 +08:00
henrylee2cn
3d44ff82a1
Make sure the debug log contains line breaks ( #1650 )
...
Many debug logs have no line breaks, so fix them here.
- With pull requests:
- Open your pull request against `master`
- Your pull request should have no more than two commits, if not you should squash them.
- It should pass all tests in the available continuous integrations systems such as TravisCI.
- You should add/modify tests to cover your proposed code changes.
- If your pull request contains a new feature, please document it on the README.
2018-11-22 09:07:00 +08:00
Bo-Yi Wu
402ef120e1
fix: fmt output log to os.Stderr ( #1571 )
...
fix #1560 changes are breaking in App Engine.
cc @giulianobr @philippgille
2018-09-27 08:59:44 +08:00
田欧
834a2ec64c
feat: add go version judge when print debug warning log ( #1572 )
...
* feat: add go version judge when print debug warning log
* remove invalid statement
* use one const
2018-09-26 13:49:11 +08:00
田欧
f2cd3fcb2a
chore: fix typo and add a little anotation ( #1562 )
2018-09-20 11:53:58 +08:00
Bo-Yi Wu
07f1bf0e63
feat: replace debug log with fmt package. ( #1560 )
2018-09-19 13:57:00 +08:00
Jérôme Laforge
90c680ef5c
Let's user define how he wants to log his routes (eg. JSON, key value, or something else) ( #1553 ) ( #1555 )
2018-09-17 12:09:34 +08:00
田欧
c00f21ff23
add go version prerequisite and debug warning ( #1394 )
...
* add go version prerequisite and debug warning
* merge duplicate content
* remove duplicate content
2018-06-26 18:56:43 +08:00
Mike Stipicevic
76ad15ab32
Update comment to reflect correct constant. ( #1144 )
...
The constant is `DebugMode`, as defined in [mode.go](1e88466d23/mode.go (L16)
).
2017-11-02 08:48:54 -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
Regner Blok-Andersen
ee7b912a24
Updating IsDebugging docs to remove redudent words. ( #868 )
2017-07-05 09:17:03 -05:00
Olivier Mengué
90911f53f2
debug: fix indent of routes dump for DELETE method
...
'DELETE' is 6 chars and breaks indent of the routes dump (only 5 chars
were reserved for the HTTP method).
2015-12-10 15:15:17 +01:00
Manu Mtz-Almeida
2b3aa51738
Template debugging
2015-08-03 17:28:12 +02:00
Manu Mtz-Almeida
8f3047814e
Comments + IRoutes + IRouter + unexported AbortIndex
2015-07-02 20:24:54 +02:00
Manu Mtz-Almeida
4cc2de6207
Refactors warning messages
2015-06-26 16:08:55 +02:00
Manu Mtz-Almeida
74fe36fa48
Routes() returns the function name of the main handler
2015-06-07 13:49:36 +02:00
Manu Mtz-Almeida
eb91af753d
Better debug warning message
2015-05-24 01:21:23 +02:00
Manu Mtz-Almeida
e2adae9003
Solution for Google App Engine?
...
https://cloud.google.com/appengine/docs/go/logs/
2015-05-24 01:00:17 +02:00
Manu Mtz-Almeida
b690611c38
Better debug logging + unit tests
2015-05-09 03:34:43 +02:00
Manu Mtz-Almeida
eb3e9293ed
Renames []HandleFunc to HandlersChain
2015-05-07 11:30:01 +02:00
Manu Mtz-Almeida
ac0ad2fed8
Improves unit tests
2015-04-08 02:58:35 +02:00
Manu Mtz-Almeida
ea962038e1
Cosmetic changes
2015-04-07 12:27:23 +02:00
Manu Mtz-Almeida
48fec0650d
Cosmetic changes
2015-03-23 06:03:12 +01:00