Are you really, really sure that this is not a trademark violation? Do you like receiving cease & desist letters, or your projects getting DMCA'd? Are you prepared to defend your views in court? If not, I would change the name.
Someone who knows more than me might be able to confirm or explain why not, but:
Isn't there something in the copyright rules about "can be mistaken" where two companies might have similar names / product names as long as there is no risk of mistaking one for the other?
Edit: that said I guess one can avoid a lot of hassle by changing anyway.
Typically that defense only holds water when two entities are in totally separate domains and even then you would probably still have to go to court to defend yourself. (Apple Corps v. Apple Computer is a notable example)
In this specific case I doubt you could make the argument that the two things are in separate domains and unlikely to be confused. Lego has sold programmable Lego sets since 1987 and even had their own programming language "Lego TC Logo". Present day they still sell programmable Lego sets under the Lego Mindstorms NXT brand.
In addition to what others have said, trademarks are not copyright. They're related as they're both types of intellectual property, but they differ in many important details.
IANAL. The author of this library is not trademarking the name Lego and the library has nothing to do with children's toys or any kind of creative/building work. Given that it's possible to trademark two identical names in different industries (s: http://www.avvo.com/legal-answers/can-i-trademark-a-similar-...), I'd say author is in the clear.
But of course children's toys are not the only category of products and services that The Lego Group has trademarked as "Lego". It's a fairly long list[0]. I have no idea whether the author is "clear" or not but I know that I wouldn't want to waste my time and money arguing about this in court. I would just change the name.
(Not that this would ever reach that stage. GitHub will receive a DMCA notice, they will take the project down and that will be the end of the story.)
Edit: I just went through all of the lego trademarks you linked (good call) and none of them are even close to matching a description/category for this library.
I like the README on this project -- I've noticed a lot of Go libraries tend to have absolutely no "getting started" code and tend to just push people toward the godocs. One of my favourite things about node is how pretty much every module tells you how to use it immediately right in the README.
That's "OSS". Many people believe that dumping stuff on the internet counts as a "contribution" (e.g. [1]). That's how it works: throw stuff out there if you feel like it, ignore feedback, and "Open."
Do Let's Encrypt issue multiple valid certs for the same domain at the same time? Something I've been thinking of doing (with a library like this) is building the LE client right into the program so you can set a flag and it'll automatically acquire an certificate for the server it's running on.