--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/fd93525d-f221-4d95-9f20-44dc60308538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 <gert....@gmail.com> wrote:
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
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.
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?
you may have to file a bug.
here's more info on m=all: https://godoc.org/golang.org/x/tools/cmd/godoc
On Wed, Jun 12, 2019 at 3:25 PM Gert <gert....@gmail.com> wrote:
>
> 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
>
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.