code: func SetCookie(cookie http.Cookie, context *qor.Context) {
  	cookie.HttpOnly = true
  
  	// set https cookie
  	if context.Request != nil && context.Request.URL.Scheme == "https" {
  		cookie.Secure = true
  	}
  
  	// set default path
  	if cookie.Path == "" {
  		cookie.Path = "/"
  	}
  
  	http.SetCookie(context.Writer, &cookie)
  }
docs: // SetCookie set cookie for context