(raw interface{})
| 229 | } |
| 230 | |
| 231 | func InterfaceType(raw interface{}) string { |
| 232 | if raw == nil { |
| 233 | return "" |
| 234 | } |
| 235 | return reflect.TypeOf(raw).String() |
| 236 | } |
| 237 | |
| 238 | // LoadFile loads file content with file extension and assigns to structObj |
| 239 | func LoadFile(path string, structObj interface{}) (err error) { |