go-jamming/app/index/handler.go

18 lines
271 B
Go
Raw Normal View History

2021-04-07 10:06:16 +02:00
package index
import (
"net/http"
"fmt"
"github.com/wgroeneveld/go-jamming/common"
2021-04-07 10:06:16 +02:00
)
func Handle(conf *common.Config) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
fmt.Printf("testje")
}
2021-04-07 10:06:16 +02:00
}