gojp / goreportcard

A report card for your Go application
https://goreportcard.com
Apache License 2.0
1.99k stars 252 forks source link

There was an error processing your request: Could not analyze the repository: no .go files found #373

Open error0x001 opened 2 years ago

error0x001 commented 2 years ago

Hey there!

I have an issue with my repo. It was ok a few days ago, the rating was A, but now I see the badge with 'go report: error', and the error in https://goreportcard.com/

https://github.com/error0x001/ws-cursors

Could you help me, please?

shawnps commented 2 years ago

@error0x001 it seems like version v0.0.1 is not showing up yet on the Golang proxy:

https://proxy.golang.org/github.com/error0x001/ws-cursors/@latest

I'm not sure when it will show up, but once it does Go Report Card should be able to download it and run checks.

error0x001 commented 2 years ago

@shawnps Thanks, I will wait

texadactyl commented 1 year ago

It would be helpful if there was an explanation as to WHY no .go files could be found when there clearly are .go files. My project: https://github.com/texadactyl/jacotest.go

I'll try the installation method and see what happens.

texadactyl commented 1 year ago

Okay, I followed both the local web instructions and the command line instructions.

  1. local web (localhost:8000) - useless to me. It still cannot find my .go files.
  2. command line (goreportcard-cli -v) - this worked for me on my local image of jacotest.go (see my previous message).

The command line interface does indeed walk a directory tree (required) and supply useful information. The web version needs help.