Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么不返回一个对象,而返回一个数组呢? #9

Closed
gewei2000 opened this issue Feb 7, 2021 · 0 comments
Closed

为什么不返回一个对象,而返回一个数组呢? #9

gewei2000 opened this issue Feb 7, 2021 · 0 comments

Comments

@gewei2000
Copy link

dmi, _ := dmidecode.New()
infos, _ :=dmi.System()

infos为什么不返回一个对象,而返回一个数组呢?
想读取UUID或其他特定一个值的时候很不方便

@gewei2000 gewei2000 reopened this Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant