convertStructInfos converts []*StructInfo to []StructInfo
(structs []*StructInfo)
| 352 | |
| 353 | // convertStructInfos converts []*StructInfo to []StructInfo |
| 354 | func convertStructInfos(structs []*StructInfo) []StructInfo { |
| 355 | result := make([]StructInfo, len(structs)) |
| 356 | for i, s := range structs { |
| 357 | result[i] = *s |
| 358 | } |
| 359 | return result |
| 360 | } |
| 361 | |
| 362 | // isCompileGuardError checks if the error is due to compile-time guard conflicts |
| 363 | func isCompileGuardError(errMsg string) bool { |
no outgoing calls
no test coverage detected