package bacheca import ( "context" "errors" proto "git.abbiamoundominio.org/hamcha/bacheca/proto" "git.abbiamoundominio.org/hamcha/bacheca/storage" ) // Service is the definition of the Bacheca service type Service interface { GetFeed(context.Context, *proto.GetFeedRequest, *proto.GetFeedResponse) error } type bachecaService struct { backend storage.Backend } // MakeService returns an instance of the bacheca service func MakeService(store storage.Backend) Service { return &bachecaService{ backend: store, } } func (b *bachecaService) GetFeed(ctx context.Context, req *proto.GetFeedRequest, rsp *proto.GetFeedResponse) error { return errors.New("not implemented") }