This code is checking for available usernames on GitHub for 4 letters.
Packages;
- fmt
- math/rand
- time
- colly
- Open terminal in your project folder.
- Enter this code on your terminal.
git clone https://github.com/metecan/AvailableUsernameFinder-WebScraping.git
After then
You need to install colly
package for web scraping.
- Enter this code on your terminal for install colly package.
go get -u github.com/gocolly/colly/...
Run this code on your terminal
go run main.go
Status 1: Taken
Status 0: Available
š¤©