Comments (6)
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.
I like the idea of UnmarshalFile, these do seem like good utility functions.
from xlsx.
@tealeg: What's the status of this? Are we waiting for a PR?
from xlsx.
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.
@bronze1man Are you saying you no longer need this functionality and that we should close this issue?
from xlsx.
This is so old now, I doubt we'll do anything. Closing, presumed dead.
from xlsx.
Related Issues (20)
- ValueOnly option truncating break xml HOT 3
- Shit library HOT 1
- Shit library
- Security protection is recommended for functions OpenReaderAt and OpenFile. HOT 1
- The func (f *File) Save(path string) (err error) resource in the file.go file is leaked. HOT 1
- Resource leakage in the lib.go file HOT 2
- Can it support multiple drop lists? HOT 2
- oom err HOT 3
- Read the contents of an Excel file in batches using stream processing
- how to get the number of cells in a row
- RowLimit option truncating xml ignore xmlns prefix
- codecov.io reports needs activation HOT 1
- 不支持 go1.21 版本,麻烦给处理一下,谢谢 HOT 6
- Bug:Version v3 appendsheet is empty from the second sheet, v1.0.5 is normal HOT 6
- golang 1.21 incompatibility - Suddenly all my sheets are empty -- all projects HOT 8
- how to set cell custom type as yyyy/mm/dd hh:mm:ss HOT 1
- XLSX files produced by this library need recover by Microsoft Excel when open it. HOT 12
- Using WPS to open the generated Excel border defaults to dashed lines. How to remove the dashed border HOT 4
- Fourth time a cell is set it won't be written to if it's not the last cell written to HOT 7
- Why cell.String() method returned datetime string contains double backslash? HOT 2
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 xlsx.