Skip to content
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

x/pkgsite: Adding function to setup server #3

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

laches1sm
Copy link

What changes does this PR bring?

  • This PR implements a new function, CreateAndInstallServer(), which refactors duplicated parts of code surrounding the creation and installation of routes and places it into this function.

  • For now, I've placed this function within the server.go - please tell me if there's a better place for it!

Thank you all very much in advance for your feedback :D

@googlebot googlebot added the cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change. label Jul 8, 2020
@gopherbot
Copy link
Contributor

This PR (HEAD: 904b871) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/pkgsite/+/241458 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Jonathan Amsterdam:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/241458.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Rebecca Martin:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/241458.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Julie Qiu:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/241458.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Rebecca Martin:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/241458.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Julie Qiu:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/241458.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Rebecca Martin:

Patch Set 1:

(2 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/241458.
After addressing review feedback, remember to publish your drafts!

@laches1sm laches1sm marked this pull request as draft July 8, 2020 14:06
@gopherbot
Copy link
Contributor

Message from Jonathan Amsterdam:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/241458.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Rebecca Martin:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/241458.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Jonathan Amsterdam:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/241458.
After addressing review feedback, remember to publish your drafts!

@Shellterreur
Copy link

96f0843

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change.
Projects
None yet
4 participants