refdata/api/handler/handler.go
Darko Luketic 02f372bc85 initial
2018-03-28 01:29:06 +02:00

14 lines
229 B
Go

package handler
import "git.icod.de/dalu/refdata/api/repo"
type Handler struct {
dataRepo *repo.DataRepository
}
func NewHandler(dataRepo *repo.DataRepository) *Handler {
h := new(Handler)
h.dataRepo = dataRepo
return h
}