Stsuru

command module
v0.0.0-...-df11c48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2016 License: MIT Imports: 2 Imported by: 0

README

Build Status Go Report Card

Stsuru

  • Simple link shortener;
  • Written in Go;

Obs: This directory contains a example server using the Shortener package that is the main application. So if you want to test It locally just use the Instalation guide and run the server.

Introduction

Implementation of a simple URL shortener in Golang. Intended to hash & display sortened URL's in a 'pure' Golang's server. It uses Gorilla's mux to handle server requests.

Instalation

Stable

If you need the latest stable version I recomend you to get our latest Release.

Go Get
  • If you enjoy, dont forget to Star the repository! :)

The easiest way is to install with go get (needed Golang 1.7 or later installed):

$ go get -u github.com/arxdsilva/Stsuru
Git Clone

As an alternative you can use also git clone:

  • SSH
$ git clone git@github.com:ArxdSilva/Stsuru.git
  • HTTPS
$ git clone https://github.com/ArxdSilva/Stsuru.git

Usage

$ cd (PATH)/github.com/arxdsilva/Stsuru
Tests
$ go test -v ./...
Start server
$ go run main.go

Open your browser and type: localhost:8080

Building packages
$ go build

LICENSE

Check our MIT license file for more info.

Credits

Made by @arxdsilva with great help of Tsuru team & contributors!

Extra

Want to implement a free PaaS & that is Open source? Check Tsuru!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL