Code compatible with go 1.0.3 and 1.1, modified to use GithubCodeLayout #4632832711301