main go-apis/lessons/08-project-a-url-shortener

README.md

Lesson 8: Project: a URL shortener

In this lesson you'll work through project: a URL shortener step-by-step, with short exercises after each idea.

Read the full lesson: https://glibcode.net/courses/go-apis/lessons/8

Files

  • main.go: the course project: a URL shortener

Tip: Run gofmt -w . before committing; nobody argues about formatting in Go.

Tip: go vet ./... catches mistakes the compiler allows.

Run it

go run ./lessons/08-project-a-url-shortener

Exercises

See exercises.md. Ask in the forum after you have tried.