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
x/pkgsite: use squirrel where appropriate #42708
Comments
Thanks @johanbrandhorst for the suggestion! We got this idea from your GopherCon talk: https://www.gophercon.com/agenda/session/227419. |
Change https://golang.org/cl/271398 mentions this issue: |
Change https://golang.org/cl/271397 mentions this issue: |
Change https://golang.org/cl/271379 mentions this issue: |
github.com/Masterminds/squirrel is now used to build the query for GetUnitMeta. For golang/go#42708 Change-Id: I91ce1c205739445e1bccfe9549d232b49337b999 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/271379 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
github.com/Masterminds/squirrel is now used to build the query for GetLatestMajorVersion. For golang/go#42708 Change-Id: I52cc4ac0b5083040732bdf8da60495ac61426a4c Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/271397 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
github.com/Masterminds/squirrel is now used to build the query for isLatestVersion. For golang/go#42708 Change-Id: I61b1d82cecbf147ffd929ac807da26d6b06d5c18 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/271398 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Johan Brandhorst <johan.brandhorst@gmail.com>
It might make sense to check out https://github.com/kyleconroy/sqlc instead. |
Closing this issue since we are now using squirrel in several places in the codebase. |
Squirrel may help with some of our dynamically constructed queries. Try it out.
The text was updated successfully, but these errors were encountered: