Skip to content

micc83/go-web-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iris web demo

First steps with Go Iris web framework.

Links

  • Go Lang
  • Iris - Go web framework.
  • gin - Simple command line utility for live-reloading Go web applications.

Commands

Install GO on MAC with brew

brew install go

Change $GOPATH

Add to your .bash_profile or .zshrc:

export GOPATH=$HOME/your/path

If using ZSH in VS Code add the following to your user settings.json:

"go.gopath": "~/your/path"

Run the project

go run main.go

Then open http://localhost:3001

Run the project with gin (Auto rebuilding proxy)

Install GIN:

go get github.com/codegangsta/gin

Run GIN:

../bin/gin main.go

Then open http://localhost:3000

About

First steps with Go Iris web framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published