Skip to content

Conversation

@brandonbloom
Copy link
Contributor

I was getting some output that looked like

const Foo = *Bar{
  Baz: 1,
}

The first commit fixes const to var and the second commit removes the *. Resulting in the correct output:

var Foo = Bar{
  Baz: 1,
}

The second commit seems to have some cascading impact to struct fields, fixing cases where there were double-optionals, like pointers to slices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant