Skip to content
/ gows Public

go simple server for serving a website directory

Notifications You must be signed in to change notification settings

dpastoor/gows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gss

go simple server for serving a website directory

Add the executable to a directory in your path, renaming it to gss, then to use, just navigate to the directory you want to serve and run

gows

can also specify the relative or absolute path to the directory you want to serve:

gows -d="./docs"

Build

on windows (powershell)

$GOOS="windows"; $GOARCH="amd64"; go build -o gss.exe .\main.go
$GOOS="darwin"; $GOARCH="amd64"; go build -o gss .\main.go

on mac/linux

GOOS=windows GOARCH=amd64 go build -o gss.exe .\main.go
GOOS=darwin GOARCH=amd64 go build -o gss .\main.go

About

go simple server for serving a website directory

Resources

Stars

Watchers

Forks

Packages

No packages published