iris/context
Eng Zer Jun 6a449876e9
Remove redundant nil check (#2194)
From the Go docs:

  "If the map is nil, the number of iterations is 0." [1]

Therefore, an additional nil check for before the loop is unnecessary.

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-21 20:12:22 +03:00
..
accept_header.go fix typo 2022-07-15 13:59:00 +08:00
application.go new Application.SetContextErrorHandler method 2022-04-13 01:00:53 +03:00
compress.go replace snappy dependency 2021-05-28 19:13:51 +03:00
configuration.go implement a dynamic router handler for #2167 2023-08-04 17:59:00 +03:00
context_func.go New Context.SetLogoutFunc/Logout and SetFunc/CallFunc methods 2020-10-12 02:07:04 +03:00
context_go118.go minor 2022-05-24 01:44:36 +03:00
context_user.go replace ioutil with io package and other minor improvements 2022-06-17 22:03:18 +03:00
context.go minor changes to MVC, see HISTORY.md#Next for more 2023-08-21 20:11:14 +03:00
counter.go add accesslog+proxy example 2020-09-19 17:47:44 +03:00
fs.go thanks @getsentry for the montlhy sponsor 2022-10-13 12:46:39 +03:00
handler.go minor 2022-11-10 00:32:21 +02:00
i18n.go fix typo 2022-07-15 16:16:18 +08:00
pool.go fix #1856 2022-03-17 22:43:04 +02:00
problem.go rename master branch to main 2023-08-20 03:12:46 +03:00
request_params.go rename master branch to main 2023-08-20 03:12:46 +03:00
response_recorder.go Remove redundant nil check (#2194) 2023-08-21 20:12:22 +03:00
response_writer.go Remove redundant nil check (#2194) 2023-08-21 20:12:22 +03:00
route.go New feature: versioning.Aliases 2021-01-06 01:52:39 +02:00
status.go replace ioutil with io package and other minor improvements 2022-06-17 22:03:18 +03:00
strconv.go add more PostValueXXX methods as requested at: https://github.com/kataras/iris/discussions/1922 2022-07-22 17:11:17 +03:00
view.go New feature: Fallback views. Read HISTORY.md 2021-01-24 14:08:37 +02:00