Gin 1 Fundamentals
Gin is a fast, lightweight framework that simplifies the creation of web applications and services. This course will teach you how to use Gin to create clean and well-structured web-based programs.
What you'll learn
The Go language has proven itself to be an excellent choice for web-based applications. However, on its own, Go can be a little tedious when routing requests and other common tasks. In this course, Gin 1 Fundamentals, you’ll learn to simplify the creation of web applications and services using Gin. First, you’ll explore Gin’s routing API to quickly get your requests where they need to go. Next, you’ll discover how to implement clear request handlers. Finally, you’ll learn how to use middleware to add features such as response compression, route-based authentication, and more. When you’re finished with this course, you’ll have the skills and knowledge of Gin needed to create your own web-based applications and services.
Table of contents
- Introduction 4m
- Static Routes 1m
- Serving Files 3m
- Demo: Serving Files 5m
- Checkpoint 01 - Static Content 0m
- Routing with HTTP Methods 2m
- Demo: Routing with HTTP Methods 3m
- Parameterized Routing 3m
- Checkpoint 02 - HTTP Methods 0m
- Demo: Parameterized Routing 2m
- Route Groups 2m
- Demo: Route Groups 2m
- Checkpoint 03 - Parameterized Routes 0m
- Summary 2m
- Introduction 2m
- Working with the http.Request Object 1m
- Demo: The http.Request Object 5m
- Checkpoint 04 - HTTP Requests 0m
- Retrieving Route Parameters 2m
- Retrieving Query Parameters 3m
- Retrieving Post From Data 4m
- Demo: Retrieving Request Data 6m
- Data Binding 5m
- Checkpoint 05 - Retrieving Data 0m
- Demo: Data Binding 7m
- Data Validation 3m
- Demo: Data Validation 6m
- Checkpoint 06 - Data Binding 0m
- Summary 2m
- Checkpoint 07 - Validation 0m
- Introduction 1m
- Sending Files 2m
- Sending Arbitrary Data 2m
- Demo: Sending Arbitrary Data 6m
- Checkpoint 08 - Serving Data 0m
- Streaming Response Data 2m
- Demo: Streaming Response Data 4m
- Rendering HTML 5m
- Checkpoint 09 - Streaming 0m
- Demo: Rendering HTML 15m
- Sending Other Structured Data 2m
- Demo: Sending JSON Data 6m
- Checkpoint 10 - Rendering HTML 0m
- Summary 2m
- Checkpoint 11 - Rendering Data 0m
- Introduction 1m
- Defining Middleware 4m
- Pre-made Middleware 2m
- Demo: Using Built-in Middleware 3m
- Checkpoint 12 - Built-in Middleware 0m
- Demo: Using Third-party Middleware 3m
- Creating Custom Middleware 2m
- Checkpoint 13 - Contrib Middleware 0m
- Demo: Creating Custom Middleware 3m
- Summary 2m
- Checkpoint 14 - Custom Middleware 0m