컨텐츠로 건너뛰기

Routing

이 콘텐츠는 아직 해당 언어로 제공되지 않습니다.

Gin provides a powerful routing system built on httprouter for high-performance URL matching with zero memory allocations.

This section covers:

  • Defining routes with HTTP methods (GET, POST, PUT, DELETE, etc.)
  • Capturing parameters from URL paths
  • Handling query strings and form data
  • Uploading files
  • Grouping routes with common prefixes and middleware
  • Performing redirects