openvenues / gopostal

Go (cgo) interface to libpostal for fast international address parsing/normalization
MIT License
160 stars 32 forks source link

Added go.mod file to migrate to go modules #15

Open vinayarv opened 3 years ago

vinayarv commented 3 years ago

Currently I'm unable to import this in my project as this doesn't have go.mod file. This MR addresses it by adding go.mod file. Here are the steps that I followed:

  1. Forked and cloned the repo.
  2. ran go mod init github.com/openvenues/gopostal
  3. go build ./... and go test ./... just to make sure all works.
  4. Published the new release by adding a tag. git tag v1.0.0 git push origin v1.0.0
vinayarv commented 3 years ago

I think the release must be published on this branch after this merge request is merged.

connormckelvey commented 3 years ago

Can this get merged in? I'm using go modules as well and cannot import this library