Replies: 1 comment
-
I know that documentation is a weak spot for Bob, and I never seem to have enough time to dedicate to improving it. Feel free to contribute this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been starting to use this library on a project. In doing so I've felt frustrated by a lack of examples in the official docs that are complete enough to work. For example:
This doesn't work for a number of reasons:
psql
cte
you need to assemble it with other thingsAdditionally, because the documentation is a bunch of disconnected go code snippets inside a Docusaurus website the code tends to be unmaintained and several examples don't work as written.
It's also very, very difficult to figure out the types of various things and how the types relate.
On the opposite end, there are so few comments and so much work with generics that running
godoc
on the codebase helps very little.I've started a project to convert the existing Docusaurus webpage into content in the code that is extracted by
godoc
. Additionally, I'm making a new dialect that exists only to leverage go testable examples. It allows for stuff like this:This is run during the unit tests, and shows up in
godoc
.I'd like to know if this is the sort of thing that would be interesting for me to contribute back to this project, and if there's any feedback on the approach.
Beta Was this translation helpful? Give feedback.
All reactions