Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asicsdigital/will_it_redirect
https://github.com/asicsdigital/will_it_redirect
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/asicsdigital/will_it_redirect
- Owner: asicsdigital
- License: mit
- Created: 2018-05-23T21:39:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T21:10:24.000Z (about 5 years ago)
- Last Synced: 2024-06-20T12:51:45.176Z (6 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# will_it_redirect [![CircleCI](https://circleci.com/gh/asicsdigital/will_it_redirect.svg?style=svg)](https://circleci.com/gh/asicsdigital/will_it_redirect)
To install:
1. Install and Configure Go [here](https://golang.org/doc/install)
2. Set $GOPATH and add $GOPATH/bin to your $PATH in your ~/.bash_profile
3. Reload bash or **run**: source ~/.bash_profile
4. **Run**: go get github.com/asicsdigital/will_it_redirect
5. You will now be able to **run**: will_it_redirect```sh
$ ./will_it_redirect https://asics.com/technology
2018-05-29 16:28:52 INFO site: https://asics.com/technology
2018-05-29 16:28:52 INFO redirect: https://georedirect.asics.com/2017-technology
2018-05-29 16:28:52 INFO redirect: https://www.asics.com/us/en-us/technology
200 https://www.asics.com/us/en-us/technology 2
```