Questions tagged [iris-go]

3 questions
0
votes
0 answers

Session id is different for each request

On Heroku, I am using the sessions within the Iris framework for Go. Each time I make a request to the server from the browser page, the session ID is different. My code: When the application starts (global scope) var appSession =…
jim
  • 8,670
  • 15
  • 78
  • 149
-1
votes
1 answer

Endpoint grouping/collection using Iris + Swag

How can I group the endpoints by Party ? Which declaration/annotation comment should I use ? I'm having this: I need the endpoints to be grouped by something like "Books", "Catalogs" and so on,... not one unique unnamed "default" group. How can I…
-1
votes
1 answer

Error sending an array within a JSON object

In order to send this JSON with Iris Go { "response_type": "in_channel", "text": "It's 80 degrees right now.", "attachments": [ { "text":"Partly cloudy today and tomorrow" } ] } I'm trying with this but is not…
SoldierCorp
  • 7,610
  • 16
  • 60
  • 100