csvutil
gocsv
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
csvutil
-
Unmarshalling csv to a struct
I used jszwec/csvutil in a project recently, easy to use and extend.
gocsv
-
Unmarshalling csv to a struct
There’s gocarina/gocsv. I haven’t used it myself, though. I just know it exists. Yet, it looks like it does exactly what you have asked for.
-
How to import csv data into postgres columns without using a for loop.
I have used "github.com/gocarina/gocsv". And it unmarshals the CSV file into sql table.
- How do I convert an array of structs to CSV?
-
Is there a library to detect types (int, float, string, bool) given a string?
https://github.com/gocarina/gocsv and/or strconv should get you what you need
What are some alternatives?
fwencoder - Fixed width file parser (encoder/decoder) in GO (golang)
struct2csv - Create CSV from struct or a slice of structs
go-serializer - :loop: Serialize any custom type or convert any content to []byte or string, for Go Programming Language
go-codec - idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]
goprotobuf - Go support for Google's protocol buffers
bambam - auto-generate capnproto schema from your golang source files. Depends on go-capnproto-1.0 at https://github.com/glycerine/go-capnproto
gogoprotobuf - [Deprecated] Protocol Buffers for Go with Gadgets
binstruct - Golang binary decoder for mapping data into the structure
colfer - binary serialization format
go-capnproto - Cap'n Proto library and parser for go. This is go-capnproto-1.0, and does not have rpc. See https://github.com/zombiezen/go-capnproto2 for 2.0 which has rpc and capabilities.
php_session_decoder - PHP session encoder/decoder written in Go
fixedwidth - A Go package for encode/decode fixed-width data