func NewManager(c *gitlab.Client, project string, w io.Writer) *Manager {
	m := &Manager{}
	m.MergeRequest = &mergeRequestsService{
		project:       project,
		gitlabMR:      c.MergeRequests,
		gitlabProject: c.Projects,
		out:           w,
		baseURL:       c.BaseURL(),
		openURL:       browser.OpenURL,
	}
	m.Search = &searchService{
		project:      project,
		gitlabSearch: c.Search,
		out:          w,
	}
	return m
}
NewManager returns a gitlab service manager.
package project
import (
	"io"
	"github.com/pkg/browser"
	"github.com/xanzy/go-gitlab"
)
type Manager struct {
	MergeRequest *mergeRequestsService
	Search       *searchService
}