8 Commits

Author SHA1 Message Date
guonaihong
4afd0574d8 revert 2020-03-24 13:39:49 +08:00
guonaihong
53df00ffe4 binding: add BindPlain function
```go
package main

import (
	"github.com/gin-gonic/gin"
)

func main() {
	router := gin.Default()
	router.POST("/", func(c *gin.Context) {
		var s string
		c.BindPlain(&s)
		c.String(200, s)
	})

	router.Run()
}

// client
// curl -d "test string" 127.0.0.1:8080
// output
// test string
```
2019-09-03 22:50:13 +08:00
thinkerou
cce49582d6 ci: break when test fail (#1671) 2018-12-05 13:49:03 +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
Bo-Yi Wu
46220b726d feat: support Let's Encrypt tls. 2017-04-03 21:23:45 +08:00
Manu Mtz-Almeida
0a192fb0fa Tons of unit tests 2015-04-09 12:15:02 +02:00
Javier Provecho
c224bf8211 Update .gitignore
Fixed PR #56.
2014-07-08 12:20:05 +02:00
mopemoepe
cfb3ce5aac Ingnore godep workspace 2014-07-08 18:41:12 +09:00