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, 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 > 
> 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 . 
> > 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. 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/0a178836-4d40-4d3b-ba6d-44d1da2ea9a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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?
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  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 golang-nuts+unsubscr...@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.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAK4xykV%3DHSg_7zq0QWZV%3DQiNMADWdiEJGoyezpp9N5KmMiajYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 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 .
>> 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.
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/9bb9d420-e320-42fd-9b4f-4106ea47982e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 golang-nuts+unsubscr...@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.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAMx%2Br7Va-1QuvUFCvRQuqiyf2S%2BXj0zNUajNEnkES3cSD7Aypw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[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

-- 
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+unsubscr...@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.