Skip to content

Conversation

dmitshur
Copy link
Member

  • Update old import path from "code.google.com/p/go.net/websocket" to "golang.org/x/net/websocket".
  • The third party package does not make the code any shorter or easier to understand. Most people are more familiar with net/http. It makes sense to use it in this case.
  • Remove code that serves sourcemaps from GOROOT and GOPATH. I could not verify it had any effect. Also, GOPATH variable may not be a valid path if it contains more than one GOPATH workspace, so it's incorrect code anyway. It can be re-added if needed.

The third party package does not make the code any shorter or easier to
understand. Most people are more familiar with net/http. It makes sense
to use it in this case.
Remove code that serves sourcemaps from GOROOT and GOPATH. I could not
verify it had any effect. Also, GOPATH variable may not be a valid path
if it contains more than one GOPATH workspace, so it's incorrect code
anyway. It can be re-added if needed.
@mjohnson9
Copy link
Member

👍

I'm not actually sure why I used Martini in the first place.

dmitshur added a commit that referenced this pull request Feb 24, 2015
@dmitshur dmitshur merged commit 867cdcb into master Feb 24, 2015
@dmitshur dmitshur deleted the improve-tests branch February 24, 2015 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants