Implementation API Go with Websocket
- framework - Gin web framework
- websocket - Gorilla websocket
The first clone or download this project
-
First you will need Go installed in your local machine
-
Go to dir project
go-socket
-
Install dep dependency manager
$ go get -u github.com/golang/dep/cmd/dep
-
Run dep ensure to downloads all dependencies
$ dep ensure
-
Run the app using this command
$ go run main.go
-
Open
http://localhost:8080