0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-28 15:53:29 +01:00
gitea/modules/web
wxiaoguang 5b9557aef5
Refactor cookie (#24107)
Close #24062

At the beginning, I just wanted to fix the warning mentioned by #24062

But, the cookie code really doesn't look good to me, so clean up them.

Complete the TODO on `SetCookie`: 

> TODO: Copied from gitea.com/macaron/macaron and should be improved
after macaron removed.
2023-04-13 15:45:33 -04:00
..
middleware Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
routing Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
route.go refactor bind functions based on generics (#22055) 2022-12-12 16:09:26 +08:00
route_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
wrap.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
wrap_convert.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00