go-client icon indicating copy to clipboard operation
go-client copied to clipboard

Compilation error: Domain.go:4174:17: undefined: char

Open rschilham opened this issue 3 years ago • 4 comments

After upgrading to the latest version I get the following compilation error:

github.com/FusionAuth/go-client/pkg/fusionauth

../../../go/pkg/mod/github.com/!fusion!auth/[email protected]/pkg/fusionauth/Domain.go:4174:17: undefined: char

rschilham avatar May 05 '21 18:05 rschilham

Thanks for the report @rschilham

Just to confirm, you are on 1.27?

mooreds avatar May 05 '21 19:05 mooreds

1.27.1 to be precise

rschilham avatar May 05 '21 20:05 rschilham

Okay, this looks like an error in our character mapping in our client library builder. Let me see if I can get a PR filed.

mooreds avatar May 06 '21 15:05 mooreds

@rschilham this should be fixed in the next patch release, expected in the next few days.

Until then you can modify that line of Domain.go and replace char with string.

Let's leave this open until that fix is published.

mooreds avatar May 06 '21 19:05 mooreds