You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In scenarios where header names are randomly generated from an external source, it would be beneficial to unmarshal the CSV into a struct using the header index. Another scenario is when people use cleaning tools in the project (e.g., field alignment), the tool can reorganize the structs, making it difficult to maintain an exact order.
In scenarios where header names are randomly generated from an external source, it would be beneficial to unmarshal the CSV into a struct using the header index. Another scenario is when people use cleaning tools in the project (e.g., field alignment), the tool can reorganize the structs, making it difficult to maintain an exact order.
Struct example:
CSV example:
The text was updated successfully, but these errors were encountered: