https://github.com/leafney/rose-gin-embed
Gin embed static resources through middleware
https://github.com/leafney/rose-gin-embed
gin rose
Last synced: 4 months ago
JSON representation
Gin embed static resources through middleware
- Host: GitHub
- URL: https://github.com/leafney/rose-gin-embed
- Owner: leafney
- License: gpl-3.0
- Created: 2023-04-06T14:46:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-07T02:01:03.000Z (about 2 years ago)
- Last Synced: 2025-01-14T15:23:38.190Z (5 months ago)
- Topics: gin, rose
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rose-gin-embed
## How to use
```go
router := gin.New()
router.Use(rge.Serve("/", rge.Embed(web.UIStatic)))
```