sourcegraph / srclib-go

Go toolchain for srclib
https://sourcegraph.com/sourcegraph/srclib-go
MIT License
29 stars 13 forks source link

DefKeyword for constants is empty string not "const" #62

Closed slimsag closed 8 years ago

slimsag commented 8 years ago

While using srclib-go output for something I am working on; I noticed that DefKeyword is set to an empty string for constants rather than what I would expect "const" -- is this the correct behavior?

beyang commented 8 years ago

Yeah, const seems like the right choice. Is this an issue in the Go stdlib libraries or something in srclib-go?