These are chat archives for gin-gonic/gin

28th
Jan 2019
Sherlock Holo
@Sherlock-Holo
Jan 28 02:26
Hi, I am using gin-contrib/sessions cookie-based, and I am writing the test unit for a http POST, normally the POST should bring the session-cookie, but in the testing, I don't want POST testing depends on the GET, so I need to put session-cookie into store := cookie.NewStore([]byte("secret")) manually
but I don't see there are some API let me do it, so how should I do to put session-cookie into store manually