gateway-example

module
v0.0.0-...-9728e5e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2019 License: MIT

README

<<<<<<< HEAD

go-vendor-example

An example that using "govendor" into your project.

How to use

Step 1: Clone repo and setup GOPATH.

git clone https://github.com/kilfu0701/go-vendor-example.git
cd go-vendor-example
export GOPATH=`pwd`
export PATH=$GOPATH/bin:$PATH

Setp 2: Install govender

go get -u github.com/kardianos/govendor
rm -rf src/github.com src/golang.org     # after install govender, remove "src/github.com" & "src/golang.org"

Step 3: Download vendor packages

cd src/app
govendor sync

Step 4: Run application, and check localhost:8081

cd $GOPATH
go run src/main.go

Support version

  • Go 1.5 (run with GO15VENDOREXPERIMENT=1 go run src/main.go)
  • Go 1.6 above

Contributors

License

MIT

gateway-example

asdcz

fe0f1de6a9275631f29a6851353cd72efd7a359a

Directories

Path Synopsis
src
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL