go-python/gopy

No consts documentation is generated

psha- opened this issue · 0 comments

psha- commented

Py doc should be generated for const definitions such as:

// This is a const
const myConst1 = 1

// This is a typed const
const myConst myType = 1

Go handles such comments and it should not be a problem for gopy to generate py doc.
However it appears that go itself can not handle docs for const defined in a common const construct:

const (
    // Doc that can't be handled by go atm
    myConst1 = 1
)