Skip to content

Commit 4ee797e

Browse files
committed
docs: reorganize and streamline README structure and content
- Move the Overview section to a later position in the README while retaining its content - Remove the explicit Table of Contents section and rely on the markdown-generated navigation - Simplify the document by consolidating introductory content Signed-off-by: appleboy <[email protected]>
1 parent 8efeda3 commit 4ee797e

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

README.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,8 @@
55
[![Go Report Card](https://goreportcard.com/badge/github.com/gin-contrib/cors)](https://goreportcard.com/report/github.com/gin-contrib/cors)
66
[![GoDoc](https://godoc.org/github.com/gin-contrib/cors?status.svg)](https://godoc.org/github.com/gin-contrib/cors)
77

8-
---
9-
10-
## Overview
11-
12-
**CORS (Cross-Origin Resource Sharing)** middleware for [Gin](https://github.com/gin-gonic/gin).
13-
14-
- Enables flexible CORS handling for your Gin-based APIs.
15-
- Highly configurable: origins, methods, headers, credentials, and more.
16-
17-
---
18-
19-
## Table of Contents
20-
218
- [gin-contrib/cors](#gin-contribcors)
229
- [Overview](#overview)
23-
- [Table of Contents](#table-of-contents)
2410
- [Installation](#installation)
2511
- [Quick Start](#quick-start)
2612
- [Advanced Usage](#advanced-usage)
@@ -39,6 +25,15 @@
3925

4026
---
4127

28+
## Overview
29+
30+
**CORS (Cross-Origin Resource Sharing)** middleware for [Gin](https://github.com/gin-gonic/gin).
31+
32+
- Enables flexible CORS handling for your Gin-based APIs.
33+
- Highly configurable: origins, methods, headers, credentials, and more.
34+
35+
---
36+
4237
## Installation
4338

4439
```sh

0 commit comments

Comments
 (0)