Skip to content

indevsDigital/shorturl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shorturl

Shorturl is a Shorturl creater written in golang.It uses mysql as a datastore

Get and run

Get the code

go get github.com/indevsDigital/shorturl

Edit database credentials

{
 "db_user":"mysql username",
 "db_password":"mysql password"
}

Install

cd $GOPATH/src/github.com/indevsDigital/shorturl
go install

Run the binary in project dir to server the index.html file

shorturl