Create functional option for ctx.SetCookie #14

Merged
techknowlogick merged 5 commits from zeripath/macaron:refactor-set-cookie into master 2020-10-27 21:36:41 +00:00

5 Commits

Author SHA1 Message Date
ba86d121da Merge branch 'master' into refactor-set-cookie
All checks were successful
continuous-integration/drone/pr Build is passing
2020-10-28 04:15:11 +08:00
3453d4d8a6
author attribution
Some checks failed
continuous-integration/drone/pr Build is failing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-10-21 21:33:36 +01:00
e650b1b0d4
Add helper functions
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-10-21 09:25:42 +01:00
e3b33dfdbc
Give ctx.SetCookie a functional option to allow for more settings on the cookie
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-10-21 08:52:34 +01:00
b7458f9e7b
run go fmt on codebase and fix linting of tree_test
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-10-21 08:38:45 +01:00