Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timothyl96/urlshort-gophercises

Exercise #2 from Gophercises
https://github.com/timothyl96/urlshort-gophercises

yaml

Last synced: 9 days ago
JSON representation

Exercise #2 from Gophercises

Awesome Lists containing this project

README

        

## URL Shortener:
##### Gophercises - Exercise 2

`This is the exercise for Golang from gophercises.com`

---
[![Made with GO](https://forthebadge.com/images/badges/made-with-go.svg)](https://golang.org/)
[![Uses Badges](https://forthebadge.com/images/badges/uses-badges.svg)](https://github.com/ttimt/urlshort-gophercises)

![GitHub last commit](https://img.shields.io/github/last-commit/ttimt/urlshort-gophercises?style=for-the-badge)

[![Ask Me Anything !](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](https://linkedin.com/in/timothy0707/)
[![Build status](https://ci.appveyor.com/api/projects/status/fefnhyv7pcwavkhh/branch/master?svg=true)](https://ci.appveyor.com/project/ttimt/urlshort-gophercises/branch/master)
![GitHub top language](https://img.shields.io/github/languages/top/ttimt/urlshort-gophercises)
[![Go Report Card](https://goreportcard.com/badge/github.com/ttimt/UrlShort-Gophercises)](https://goreportcard.com/report/github.com/ttimt/urlshort-gophercises)
![GitHub repo size](https://img.shields.io/github/repo-size/ttimt/urlshort-gophercises)
![GitHub issues](https://img.shields.io/github/issues/ttimt/urlshort-gophercises)
![GitHub contributors](https://img.shields.io/github/contributors/ttimt/urlshort-gophercises)

![GitHub followers](https://img.shields.io/github/followers/ttimt?label=Follow&style=social)
![GitHub forks](https://img.shields.io/github/forks/ttimt/QuizGame?style=social)
![GitHub stars](https://img.shields.io/github/stars/ttimt/QuizGame?style=social)
---

**What's this**:
- Create a **HTTP handler function** with knowledge of URL shortener/redirect in map format with a default fallback mux
- Then, there's also knowledge in YAML format and has its own HTTP handler function that fallback to the above map handler function