kairoaraujo / goca

Golang Certificate Authority (CA) package
MIT License
40 stars 13 forks source link

doc: Update README.md #36

Closed ZenkieBear closed 5 months ago

ZenkieBear commented 6 months ago

We should use go get github.com/xxx to fetch go packages. If you add the http protocol before the domain, GoLang will print a error.

ZenkieBear commented 5 months ago

I believe there needs to be a v2 sub-directory on the package path for this to work as intended. Particularly after PR35 is merged.

e.g. go get github.com/kairoaraujo/goca/v2@v2.0.0

The v2.0.0 probably won't work either due to the issue you fixed with PR35. What do you say about making the version "latest"?

That's a great idea. The @v2.0.0 is meaningless, it will be outdate. We could remove it, because the go module uses latest default. The most important thing is remove the https:// prefix, that will causes importing problem.