rajatjindal / goodfirstissue

webhook for goodfirstissue github app
https://github.com/apps/goodfirstissue
Apache License 2.0
31 stars 7 forks source link

add checks for nil *string #10

Closed rajatjindal closed 5 years ago

rajatjindal commented 5 years ago

added function stringValue, and add nil check for o.Repo.Language. This fixes the panic we have seen on few events.

alexellis commented 5 years ago

Let's see a unit test for this?