Files
say-it-backend/vendor/gopkg.in/gin-gonic/gin.v1/deprecated.go
T
2017-06-26 11:36:20 +08:00

13 lines
351 B
Go

// Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import "log"
func (c *Context) GetCookie(name string) (string, error) {
log.Println("GetCookie() method is deprecated. Use Cookie() instead.")
return c.Cookie(name)
}