https://github.com/khaiql/closest_listings
https://github.com/khaiql/closest_listings
golang great-circle sorted-lists
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/khaiql/closest_listings
- Owner: khaiql
- License: mit
- Archived: true
- Created: 2018-05-06T15:48:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-06T16:40:33.000Z (about 8 years ago)
- Last Synced: 2024-06-20T15:57:12.647Z (almost 2 years ago)
- Topics: golang, great-circle, sorted-lists
- Language: Go
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Find top closest listings
[](https://travis-ci.org/khaiql/closest_listings)
## Prerequisites
1. Having go (1.10.x) installed and set up
1. Having `dep` installed: https://golang.github.io/dep/docs/installation.html
## Getting started
1. `git clone git@github.com:khaiql/closest_listings.git $GOPATH/src/github.com/khaiql/closest_listings`
1. `cd $GOPATH/src/github.com/khaiql/closest_listings`
1. `dep ensure`
1. `go build`
1. `./closest_listings -filepath data/geoData.csv`
## Flags
- --top [5]
- --datasource [csv]
- --filepath
- --long [4.478617]
- --lat [51.925146]