couchbaselabs / couchbaselabs/beersample-go

Compile Fails at Current HEAD ( 1a64b11 )

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Compile of beersample.go fails at the current HEAD of this project: 1a64b11

This occurs if either of these methods is used:
- git clone of this project followed by 'go build'
- normal 'go get' of the project

```
Error messages are:./beersample.go:110: multiple-value bucket.ExecuteViewQuery() in single-value context
./beersample.go:141: multiple-value bucket.ExecuteViewQuery() in single-value context
./beersample.go:258: multiple-value bucket.ExecuteViewQuery() in single-value context
./beersample.go:280: multiple-value bucket.ExecuteViewQuery() in single-value context
```

The package imported package github.com/couchbaselabs/gocb is at https://github.com/couchbase/gocb/commit/3d0e906e8e78d7bd4efd3c5849f3ffa8f15a321c .

The cause appears to be the gocb change at https://github.com/couchbase/gocb/commit/1bb4fb7d83c97b7a6fd30d8140bc0deb0e4b5efc

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running 'go build' after checking beersample.go at lines 110, 141, 258, and 280, where the reported ExecuteViewQuery errors occur. Review the referenced gocb changes, then verify that the project builds successfully through both a clone and normal 'go get'.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.