* zhiwei dong [230322 00:47]:
> The 127.0.0.1:8084/apidoc/ return a 404
>
> Demo
> package main
>
> import (
> "fmt"
> "github.com/gorilla/mux"
> "net/http"
> )
>
> func main() {
> router := mux.NewRouter()
> router.PathPrefix("/apidoc/").Handler(http.StripPrefix("/apidoc/",
>
The 127.0.0.1:8084/apidoc/ return a 404
Demo
package main
import (
"fmt"
"github.com/gorilla/mux"
"net/http"
)
func main() {
//http.Handle("/apidoc/", http.StripPrefix("/apidoc",
http.FileServer(http.Dir("api-swagger"
//if err := http.ListenAndServe(":8082", nil); err != nil {
//