Re: [go-nuts] https://godoc.org/github.com/couchbase/moss

2019-06-12 Thread Gert
thx, filed at https://github.com/golang/go/issues/32588 On Wednesday, June 12, 2019 at 11:48:20 PM UTC+2, andrey mirtchovski wrote: > > collection is not an exported type: > https://github.com/couchbase/moss/blob/master/collection.go#L24 > > the ?m=all parameter should enable you to see those, b

Re: [go-nuts] https://godoc.org/github.com/couchbase/moss

2019-06-12 Thread andrey mirtchovski
collection is not an exported type: https://github.com/couchbase/moss/blob/master/collection.go#L24 the ?m=all parameter should enable you to see those, but it's not working for me on your link. perhaps because "collection" and "Collection" are not considered by godoc to be two different things? y

Re: [go-nuts] https://godoc.org/github.com/couchbase/moss

2019-06-12 Thread Gert
aaa ok thx On Wednesday, June 12, 2019 at 11:40:29 PM UTC+2, David Anderson wrote: > > collection is an unexported type. Godoc doesn't show unexported types by > default, so none of the methods of collection will appear. > > On Wed, Jun 12, 2019 at 2:25 PM Gert > > wrote: > >> Is it just me or i

Re: [go-nuts] https://godoc.org/github.com/couchbase/moss

2019-06-12 Thread David Anderson
collection is an unexported type. Godoc doesn't show unexported types by default, so none of the methods of collection will appear. On Wed, Jun 12, 2019 at 2:25 PM Gert wrote: > Is it just me or is stuff missing in godoc like for example > > // NewBatch returns a new Batch instance with hinted a

[go-nuts] https://godoc.org/github.com/couchbase/moss

2019-06-12 Thread Gert
Is it just me or is stuff missing in godoc like for example // NewBatch returns a new Batch instance with hinted amount of // resources expected to be required. func (m *collection) NewBatch(totalOps, totalKeyValBytes int) ( ... } from collection.go https://godoc.org/github.com/couchbase/moss -