Skip to content
Sample HTTP server was written by Go
HTML Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
view
.gitignore
README.md
controller.go
model.go
server.go
view.go

README.md

HTTP Hands-on

Sample codes for Software Design September 2017.

Installation

To install the library and command line program, use the following:

go get -u github.com/Ladicle/http-handson

Usage

Run HTTP server:

$ http-handson
2017/07/11 06:46:58 Access to 127.0.0.1:7070

Show command usage:

$ http-handson --help
Usage of ./http-handson:
  -h string
        server host name (default "127.0.0.1")
  -p int
        server port number (default 7070) 

Reconvert views

Views are converted to binary data by go-bindata. If you want to reconvert view, to run the the following command.

$ go get -u github.com/jteeuwen/go-bindata/...
$ go-bindata -o view.go views
You can’t perform that action at this time.