Skip to content

Conversation

@pei0804
Copy link
Owner

@pei0804 pei0804 commented Jan 26, 2018

No description provided.

func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
defer func() {
if rv := recover(); rv != nil {
log.Print(rv)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logger


// respondError レスポンスとして返すエラーを生成する
func respondError(w http.ResponseWriter, code int, err error) {
log.Printf("err: %v", err)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

消す

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