opened
abenz1267
username_0
Hi,

so this doesn't work:

```
ahoi := "/test"
test := "." + ahoi
box := packr.NewBox(test)
```

while this would work:

```
test := "./test" 
box := packr.NewBox(test)
```

What am i missing? Latest version.

Regards
Problem with variables and packr.New
issue
created
abenz1267
username_0
apparently not an issue anymore with v2.
comment
closed
abenz1267
username_0
issue
created
mh-cbon
username_1
I m having the problem with

```go
package main

var (
	WebAppDir = "client/public"
)

var (
	// migrationsBox = packr.New("migrations", "migrations")
	assetsBox = packr.NewBox(WebAppDir)
)
```

both packr and packr2 fails to detect the box : /

I intent to write it this way so the directory is rewritable with ldflags.
comment