Hi mattn,
The commit supported child package build.
Failed gom installafter this commit.
Failed Gomfile sample is
gom 'github.com/justinas/nosurf'
log:
$ gom install
downloading github.com/justinas/nosurf
warning: code.google.com is shutting down; import path code.google.com/p/go.net/websocket will stop working
warning: package github.com/justinas/nosurf/examples
imports code.google.com/p/go.net/websocket
# github.com/justinas/nosurf/examples
examples/goji.go:15: templateString redeclared in this block
previous declaration at examples/advanced.go:15
examples/goji.go:34: templ redeclared in this block
previous declaration at examples/advanced.go:31
examples/goji.go:58: main redeclared in this block
previous declaration at examples/advanced.go:55
examples/simple.go:12: templateString redeclared in this block
previous declaration at examples/goji.go:15
examples/simple.go:31: templ redeclared in this block
previous declaration at examples/goji.go:34
examples/simple.go:44: main redeclared in this block
previous declaration at examples/goji.go:58
examples/web.go:12: templateString redeclared in this block
previous declaration at examples/simple.go:12
examples/web.go:28: templ redeclared in this block
previous declaration at examples/simple.go:31
examples/web.go:41: main redeclared in this block
previous declaration at examples/simple.go:44
gom: exit status 2
github.com/justinas/nosurf/examples can't use go get
Hi mattn, The commit supported child package build.
Failed
gom install
after this commit.Failed Gomfile sample is
log:
github.com/justinas/nosurf/examples
can't usego get
My commit successed
gom install
But this code is bad code. I want to set optional exclude path or not insalled child package.
What would be the best thing to do?