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 find pointer method on addressable nil pointer #18816
If you read a *T out of a *T and it is nil, the template package cannot invoke pointer methods using it, because the template package takes its address, producing a **T with no methods. (For a non-nil *T, it's been indirected to T, so taking the address restores the *T. But if you have a nil *T, it can't be indirected, so the extra address-of hurts.)