go_import_excel_pg/internal/rest/server.go

16 lines
259 B
Go
Raw Permalink Normal View History

2024-02-22 10:43:39 +07:00
package rest
import "git.nochill.in/nochill/excel_import_playground/internal/repository"
type Server struct {
Store repository.Store
}
func NewServer(store repository.Store) (*Server, error) {
server := &Server{
Store: store,
}
return server, nil
}