Comments (2)
Hi @vdemeester,
I ran into this exact issue when trying to use go-licenses
in a project with a custom GOPATH. I found out that this package already contains a way to adjust the Archive location using the OptionFn
slice within the New()
function call. https://github.com/google/licenseclassifier/blob/master/classifier.go#L89:L94
The issue is the go-licenses
does not expose a way to call this from the command line. I opened a pull request (google/go-licenses#36) to fix that issue. If you are directly including the licenseclassifier
module then you can do something similar to what I did in the PR.
Hope it helps.
from licenseclassifier.
Since this is an issue with the utility calling the classifier and not this code itself, closing the issue.
from licenseclassifier.
Related Issues (18)
- Lucent Public License Version 1.02 not picked up correctly HOT 2
- Typo error inside header function documentation
- Trying to vendor go-licenses, which uses this, fails because the license DB is not vendored. HOT 4
- ClassifyLicensesWithContext doesn't actually close when context does
- Where does list of licenses come from? HOT 1
- match offset and extent out of range HOT 2
- Need Help using the tool
- Found a small typo. HOT 1
- Release another v2 version?
- Add blessing license to unencumbered licenses?
- Add main package file in v2
- Bug in the computeQ function - v2 classifier
- Switch to go:embed HOT 3
- Compiled default classifier
- Publish binary releases for common platforms
- bug: Index out of range when splitting path while loading assets on windows HOT 1
- Can you give more details of how to run the application? 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 licenseclassifier.