GeertJohan / GeertJohan/go.rice
Using rice.Config rice tool can't find calls
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Description
Based on the example.go file
``` go
package main
import (
"fmt"
"github.com/gutenye/go.rice"
)
func main() {
r := rice.Config{
LocateOrder: []rice.LocateMethod{rice.LocateFS, rice.LocateEmbedded},
}
_, _ = r.FindBox("www")
}
```
run `$GOPATH/bin/rice -v embed-go`
```
2015/05/14 10:21:19 using pwd as import path
2015/05/14 10:21:19 using import paths: [gothing]
2015/05/14 10:21:19 scanning file "/Development/Go/gothing/src/gothing/main.go"
no calls to rice.FindBox() found
2015/05/14 10:21:19
2015/05/14 10:21:19 rice finished successfully
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the example.go reproduction and run `$GOPATH/bin/rice -v embed-go` to confirm the “no calls to rice.FindBox() found” output. Trace the embed-go call scanner from that command and determine why the rice.Config-based FindBox call is missed; done means the command detects the call and processes the www box.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100