Per https://developer.github.com/v3/repos/#get-a-repository, the mediaTypeRepositoryVisibilityPreview accept header needs to be set to see the Visibility flag for a repository.
Great catch! Thank you, @propertone. Would you like to submit a PR?
The value needs to be added here:
https://github.com/google/go-github/blob/master/github/repos.go#L417
@gmlewis could I take this issue?
Thanks, @wesleimp! This one is yours. :smile:
Most helpful comment
@gmlewis could I take this issue?