15 lines
157 B
Go
15 lines
157 B
Go
package docs
|
|
|
|
import (
|
|
"embed"
|
|
"net/http"
|
|
)
|
|
|
|
//go:embed *.yaml
|
|
//go:embed *.html
|
|
var docs embed.FS
|
|
|
|
func GetFS() http.FileSystem {
|
|
return http.FS(docs)
|
|
}
|