go-url-shortener

module
v0.0.2-beta Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: MIT

README

URL shortener in GO

PkgGoDev Go Report Card codecov

Test

go test ./...

Build & Run

Command-line utility

go build ./cmd/go-shortener-cli/

user$ ./go-shortener-cli 
>> http://google.com
<< I0mIVmya
>> I0mIVmya
<< http://google.com
>> asdf
<< url not found for "asdf"

Directories

Path Synopsis
cmd
go-shortener-cli
Package describes url shortener application with CLI interface and in-memory storage.
Package describes url shortener application with CLI interface and in-memory storage.
pkg
hash
Package hash provides hash functions for url shortening.
Package hash provides hash functions for url shortening.
shortener
Package shortener contains business-logic for url shortening.
Package shortener contains business-logic for url shortening.

Jump to

Keyboard shortcuts

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