Can not eval map[string] interface properly #325
Unanswered
scorpinxia
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have run some test like TEST1,I want the error happened( variables have no cpu1 field),but It just return false
Also I do test like TEST2 , just change field 'cpu1' to 'request1' , It works (it return err , can not fetch cpu from nil )
again I do test like TEST3 , just change '==' to '>' , It works (it return err invalid operation: < float64 (1:27))
any ideas?
TEST1
TEST2
TEST3
Eval expression code
Beta Was this translation helpful? Give feedback.
All reactions