udemy-go-web-1/cmd/web/setup_test.go

17 lines
206 B
Go

package main
import (
"net/http"
"os"
"testing"
)
func TestMain(m *testing.M) {
os.Exit(m.Run())
}
type myHandler struct{}
func (mh *myHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}