2024-12-11 02:00:29 +03:00
|
|
|
package http_handler
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
swaggerui "go.unistack.org/micro-server-http/v3/handler/swagger-ui"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestTemplate(t *testing.T) {
|
2024-12-16 14:08:55 +03:00
|
|
|
t.Skip()
|
2024-12-11 02:00:29 +03:00
|
|
|
h := http.NewServeMux()
|
|
|
|
h.HandleFunc("/", swaggerui.Handler(""))
|
|
|
|
if err := http.ListenAndServe(":8080", h); err != nil {
|
|
|
|
t.Fatal(err)
|
|
|
|
}
|
|
|
|
}
|