Skip to content

Latest commit

 

History

246 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

####Dependencies

go get github.com/stretchr/testify

####Run exercises

go run exercise-....go

####Run tests

cd exercise-7/mathematics/
go test

####Go get

go get code.google.com/p/go-tour/wc

####Exercise with HTTP and expose port

$ sudo docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
ef4c64eb792b        go:latest           "/bin/bash"         19 hours ago        Up 19 hours                             naughty_kirch

$ sudo docker inspect go | grep IPAddress

$ sudo docker inspect naughty_kirch | grep IPAddress
        "IPAddress": "172.17.0.4",

Access browser http://172.17.0.4:8000/, example in exercise-57.go.

About

Learning Go

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages