Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
text/template: cannot compare to '.' constant (byte(46)) #34483
What version of Go are you using (
Oh, this was a weird one - the template package got confused and thought that the dot meant that the value was part of a floating point literal. Fix incoming.
I'm afraid this has been broken since at least Go 1.12, and there's a temporary workaround (use a number literal instead of a rune literal), so I don't think we should backport.