Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very poor documentation #62

Open
ilyakaznacheev opened this issue Apr 15, 2019 · 6 comments
Open

Very poor documentation #62

ilyakaznacheev opened this issue Apr 15, 2019 · 6 comments

Comments

@ilyakaznacheev
Copy link
Contributor

It would be great to add meaningful godoc comments and examples, document the ways the library can be used (how to use a different migration directory, how to register migrations from the code, etc.)

@shawn246
Copy link

I went through the md file and i didn't figure out how to do the migration. The example doesn't work at command "go run *.go" which i actually executed as "go run main.go".
Poor documentation!

@RegisMelgaco
Copy link

I want to help with this issue! I think a have understand the basics and simpler idea of how to explain it.

@RegisMelgaco
Copy link

I was thinking about creating a example/tutorial like the existing one. Any suggestions where to write it and which topics to cover?

@vmihailenco
Copy link
Member

@RegisMelgaco if you ask me I would add an article to https://github.com/go-pg/docs/tree/master/docs. It will be published on https://pg.uptrace.dev/

But godoc comments or an example in this repo will be helpful too I guess :)

@RegisMelgaco
Copy link

Thanks for the tips! So I will prioritize writing the article, since it would be incorporated in the docs.

@NivardoX
Copy link

Any updates on that? I can also help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants