Registry / web-framework / swaggo-files

swaggo-files

JSON →
library1.0.1gogounverified

Package files provides file serving utilities for Swaggo, typically used to serve Swagger UI assets.

go get github.com/swaggo/files
INSTALL
IMPORT
SIG · SWAGGO-FILES
S
swaggo-files
web-frameworkgov1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

files
github.com/swaggo/files

Serves Swagger UI static files.

package main import ( "net/http" "github.com/swaggo/files" ) func main() { http.Handle("/swagger/", http.StripPrefix("/swagger/", http.FileServer(http.FS(swaggerFiles.Handler)))) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
swaggo-files — go get swaggo-files · libregistry