2014-08-29 17:49:50 +00:00
|
|
|
// 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.
|
|
|
|
|
2014-07-04 21:28:50 +00:00
|
|
|
package gin
|
2016-01-26 17:36:37 +00:00
|
|
|
|
|
|
|
import "log"
|
|
|
|
|
|
|
|
func (c *Context) GetCookie(name string) (string, error) {
|
|
|
|
log.Println("GetCookie() method is deprecated. Use Cookie() instead.")
|
|
|
|
return c.Cookie(name)
|
|
|
|
}
|