Git Product home page Git Product logo

scanners's People

Contributors

dwhatcott avatar mdwhatcott avatar smartyjohn avatar zacharysyoung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scanners's Issues

any possible way to allow injecting a header

I have a client that sends a large file without headers. We have an agreed upon header map, so the file is consistent, they just choose to not send the headers in the file. I would like to inject the headers from a config without having to read the file first in another process.

The easiest way would be to append the headers in *ColumnScanner.headerRecord []string, but since it's an unexported field I cannot do that.

Any thought into making that field exported or adding this functionality in a func?

Add some more examples, and documentation.

Hi ๐Ÿ‘‹. I like this project, and would like to add some examples and documentation so anyone looking can quickly see what it can do for them.

I've started doing that in my fork, https://github.com/zacharysyoung/scanners/tree/MoreDocumentation.

I'm open to suggestions for matters like general direction of effort, or style, if you think this would make the project/repo better.

Thanks.

P.S., I also noticed that in https://github.com/smartystreets/scanners/blob/master/csv/column_scanner.go#L15C1-L17C20 the option FieldsPerRecord(0) looks redundant as the underlying reader's FieldsPerRecords defaults to 0. I was playing with that (tests pass), but I can pull that out of any documentation changes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.