From 5da74745cb2d080eddcaf31592095072e4f660d9 Mon Sep 17 00:00:00 2001 From: Caleb Vorderbruggen Date: Mon, 18 Apr 2022 18:18:57 -0400 Subject: [PATCH] updated README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cadfd17..ea28125 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,16 @@ Provides simple HTTP file server; Its so simple to do with golang; looks like nobody bothers to provide a ready-to-download package to actually do it. +## Installation + +```golang +go install git.thirdage.dev/night/handler@latest +``` + ## Examples -Calling without any arguments defaults to serving ./ at 0.0.0.0:8080 +Calling without any arguments defaults to serving `./` at `0.0.0.0:8080` ```golang $ ./handler