In go language how you can check variable type at runtime?
Answer Posted / Surya Kumar Raushan
To check the variable type at runtime in Go, you can use the reflect package. Reflect.TypeOf(variable) will return the type of the variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category