-
Notifications
You must be signed in to change notification settings - Fork 43
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
Review the golang packages we use #97
Comments
Currently github.com/blang/semver can't be updated, because it is broken wrt go modules. We use v3.5.1, newest version is v3.6.1. v3.5.1 is the last version that does not specify the go.mod file. Once a project applies to become a go module and has version like v3.6.1, it should have a |
The https://github.com/google/go-github package provides support for v3 REST API, while github also supports a v4 GraphQL API, which can be used with https://github.com/shurcooL/githubv4. For now just updating the package. We can think about migrating to github v4 API later. |
The uuid library we use needs to be replaced too. It's unmaintained and has bugs - satori/go.uuid#103. There seem to be a replacement - https://github.com/gofrs/uuid (or we can use something else - https://github.com/google/uuid). |
I updated the list - we replaced dat with goqu, and pq with pgx. We could update github.com/blang/semver to github.com/blang/semver/v4, so it's go modules compatible. sqlx could likely be replaced with goqu. |
Related to #70 and #34.
The "nothing fancy" or "quick wins" packages:
github.com/blang/semver
gopkg.in/fatih/set.v0
github.com/satori/go.uuid
The database packages:
github.com/jmoiron/sqlx
we decide on new ORM.
which we don't currently use. We could see if goqu could replace this
package.
github.com/lib/pq
github.com/rubenv/sql-migrate
gopkg.in/mgutz/dat.v1
The web framework packages:
github.com/ymichael/sessions
github.com/zenazn/goji
Other packages:
github.com/aquam8/go-omaha
github.com/facebookgo/grace
github.com/google/go-github
github.com/mgutz/logxi
github.com/stretchr/testify
golang.org/x/oauth2
The text was updated successfully, but these errors were encountered: