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

Update util.go #12

Merged
merged 1 commit into from
Jun 7, 2022
Merged

Update util.go #12

merged 1 commit into from
Jun 7, 2022

Conversation

wuneiii
Copy link
Contributor

@wuneiii wuneiii commented Jun 2, 2022

ExecuteAndParse 方法,可以将 nebula 查询结果解析到struct 结构中。但 struct 中仅支持标量类型(string,number,bool等,不支持结构类型)。但time.Time 太常用了,本提交增加了对 time.Time 类型字段的支持。

解析出来的目标对象中,可以支持 time.Time 类型的字段
@everywan everywan merged commit 59c8bb7 into zhihu:master Jun 7, 2022
@everywan
Copy link
Collaborator

everywan commented Jun 7, 2022

已经合并啦! 新的版本是 v0.1.10

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

Successfully merging this pull request may close these issues.

2 participants