Giter VIP home page Giter VIP logo

Comments (6)

bronze1man avatar bronze1man commented on May 12, 2024

Is it a good idea to add UnmarshalFile to this package?

UnmarshalFile

It is something like json.Unmarshal.
Finish all xlsx read stuff into one function call.
you must put data in first sheet
accept []struct{Key1 value;Key2 value} or []map[string]string
first excel row as struct key,remain excel row as struct value
type can not convert will fail
lack keys will be ignore

The problem is that the rules of how to unmarshal of different types of data is complex,and check whether xlsx file type define is match the struct define is base on use case.

from xlsx.

tealeg avatar tealeg commented on May 12, 2024

I like the idea of UnmarshalFile, these do seem like good utility functions.

from xlsx.

ShawnMilo avatar ShawnMilo commented on May 12, 2024

@tealeg: What's the status of this? Are we waiting for a PR?

from xlsx.

bronze1man avatar bronze1man commented on May 12, 2024

I forgot this issues.
The api of the library is complex,So I rewrap it with kmgExcel.
I already have kmgExcel that have those helper functions.

from xlsx.

ShawnMilo avatar ShawnMilo commented on May 12, 2024

@bronze1man Are you saying you no longer need this functionality and that we should close this issue?

from xlsx.

tealeg avatar tealeg commented on May 12, 2024

This is so old now, I doubt we'll do anything. Closing, presumed dead.

from xlsx.

Related Issues (20)

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.