Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmcd committed Jul 12, 2023
1 parent fa6fda5 commit 46d4e84
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion codegen/go_transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ func transformObject(source, target *expr.AttributeExpr, sourceVar, targetVar st
} else {
code += fmt.Sprintf("var zero %s\n\t", GoNativeTypeName(tgtc.Type))
}

if typeName, _ := GetMetaType(tgtc); typeName != "" && metaTypeIsMapOrSlice(typeName) {

Check failure on line 291 in codegen/go_transform.go

View workflow job for this annotation

GitHub Actions / Windows

undefined: metaTypeIsMapOrSlice

Check failure on line 291 in codegen/go_transform.go

View workflow job for this annotation

GitHub Actions / Linux

undefined: metaTypeIsMapOrSlice (compile)

Check failure on line 291 in codegen/go_transform.go

View workflow job for this annotation

GitHub Actions / Linux

undefined: metaTypeIsMapOrSlice (compile)
code += fmt.Sprintf("if %s == nil ", tgtVar)
} else {
Expand Down

0 comments on commit 46d4e84

Please sign in to comment.