Comments (4)
Apologies for the delayed response. I am open to having gocsv be buildable and installable with go get
. I haven't looked into it at all to know what it requires, however. Do you know what it requires?
from gocsv.
I'll dig into it and maybe see about a PR.
from gocsv.
When trying to go get
it, this is the issue:
$ go get -u github.com/DataFoxCo/gocsv
package github.com/DataFoxCo/gocsv: no Go files in /Users/ksumner/projects/go/src/github.com/DataFoxCo/gocsv
I think it's just a small amount of repository shuffling.
from gocsv.
As of 2c7bbd7 you can now get gocsv
using go get
, but because we are using modules (see https://github.com/golang/go/wiki/Modules), it will not install correctly -- in particular, the version and git hash will not be set (those are set in the scripts to build gocsv
) and it will not respect the dependency versions as defined by the go.mod
and go.sum
files.
One way to install gocsv
using go get
would be to do
# only download (and upgrade) gocsv -- don't actually build/install
go get -d -u github.com/DataFoxCo/gocsv
# build using Makefile
cd ${GOPATH:-~/go}/src/github.com/DataFoxCo/gocsv
make
This will build gocsv
at ${GOPATH}/src/github.com/DataFoxCo/gocsv/bin/gocsv
and will respect the modules (assuming you are using go version 1.11 or later). You can then move gocsv
into your $PATH
(e.g. at /usr/local/bin/gocsv
).
from gocsv.
Related Issues (20)
- updates to tealeg/xlsx result in gocsv build errors HOT 4
- How to use unique then save as a csv name? HOT 2
- Improving the release practice HOT 3
- "gocsv sql" and column names that contain square brackets? HOT 1
- Convert csv to json HOT 1
- gocsv xlsx option does convert Exel date fields to numbers HOT 1
- add assumes the input has a header HOT 1
- Join Subcommand Problem HOT 1
- The .exe embedded in the installation zip file triggers malware detection in Sophos HOT 3
- Output column raw value HOT 5
- Update Sprig to v3.2.1 HOT 1
- Parse error with escaped quotes HOT 2
- View and getTruncatedLine() have problems
- Cap requires names; panics with only default-name
- Allow to specify encoding and destination path of the output file HOT 1
- How to change to delim from "\x01" to others? HOT 2
- Convert xlsx file from some directory to CSV HOT 9
- Regression in delim's default behavior
- sortable split output files HOT 2
- Convert XLSX to CSV causes blank fields at end of row to not have proper delimiter 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 gocsv.