Skip to content

Conversation

@shuheiktgw
Copy link

@shuheiktgw shuheiktgw commented Nov 12, 2018

hash.Write could return an error but currently it is ignored. I'm not pretty sure when hash.Write returns error, but I believe it is a good habit to make sure that hash.Sum(nil) calculates hash based on right value.

Thanks 👍

@CLAassistant
Copy link

CLAassistant commented Nov 12, 2018

CLA assistant check
All committers have signed the CLA.

@suzuki-shunsuke suzuki-shunsuke self-requested a review November 12, 2018 06:29
Copy link
Contributor

@suzuki-shunsuke suzuki-shunsuke left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!
LGTM.
CI is failed but it has nothing to do with this PR.

These errors seem to be related to the issue.

../../../golang.org/x/tools/go/internal/gcimporter/bexport.go:212: obj.IsAlias undefined (type *types.TypeName has no field or method IsAlias)

According to the go's release policy,
we should remove the go 1.7 and 1.8 from the supported version.
I have sended the PR to remove them so we don't need to remove them in this PR.

And I don't know why the following error has occured, but it has nothing to do with this PR.

https://travis-ci.org/line/line-bot-sdk-go/jobs/453756254#L479

linebot/webhook_test.go:497: T.Errorf format %q has arg got of wrong type *linebot.Event

@shuheiktgw
Copy link
Author

Thanks for reviewing it 👍

@sugyan sugyan merged commit 6d73c0e into line:master Nov 13, 2018
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.

4 participants