code: def reverse(self, name, **kwargs):
          
          for p, n, _ in self.endpoints:
              if name == n:
                  return p.format(**kwargs)
docs: Reverse routing.
  
          >>> from kobin import Response
          >>> r = Router()
          >>> def view(user_id: int) -> Response:
          ...     return Response(f'You are {user_id}')
          ...
          >>> r.add('/users/{user_id}', 'GET', 'user-detail', view)
          >>> r.reverse('user-detail', user_id=1)
          '/users/1'