The current code looks like this:
type Demo struct {
Field int
AnotherField string
}
We actually need to track the Thing
type Demo struct {
Field int
AnotherField string
+ Thing float64
}
And we need to swap out the Field
:
type Demo struct {
- Field int
+ FieldFixed int
AnotherField string
Thing float64
}