Skip to content

Improve tests. #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 24, 2015
Merged

Improve tests. #10

merged 2 commits into from
Feb 24, 2015

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