Comments (1)
Yes, that is true. Currently, the master
branch only contains v2 of packr so in source-level the /
is actually the same as the content of the previous path /v2
. However, if you turn GO11MODULE
on, the default mode for golang 1.16 which is the oldest supported version by packages of buffalo family, the import path is still valid for the v2 of packr
so I guess your environment is still in the old GOPATH
mode.
Are you using packr/v2
for the buffalo app or something else?
If you are using please consider updating buffalo to 0.18 which is the latest version, which is already migrated to go:embed
from packr
. From now on, buffalo does not use packr
anymore and the support for packr
will not be continued.
If you use packr
for the other application and your go version supports go module, please consider turning the environment as GO11MODULE on.
from packr.
Related Issues (20)
- What parameters need to be changed in the source code of the Full HD application?
- can not get a right import path in go.mod env HOT 1
- Restore entire directory tree HOT 1
- How can I pack a binary and run it from a box?
- <Deleted>
- Unable to install packr on MAC
- Packr v2 not working with Docker HOT 2
- Security vulnerability in required package HOT 2
- Packr2 is running normally, but uses in the GitHub Action environment, the following error occurs: HOT 2
- Please release for GOOS=linux & GOARCH=ppc64le HOT 1
- Vulnerability due to usage of github.com/coreos:etcd:3.3.10
- packr2 does not respect go build's module path
- Source tree and go module versioning HOT 4
- This broke our CI pipeline for several projects :'( HOT 2
- packr build not working after migrating to packr v2 HOT 2
- How do i pack exe into my golang program and run the exe when golang program
- How do i pack my go file with icon and some go build argument while i use packr command
- use packr2 in command line HOT 1
- packr was deprecated and will be archived. please use `embed` instead. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packr.