Yeah, the reason for that recommendation is mostly to reduce file size. For now I don't want to have an npm dependency since this is geared towards Python developers. I'll eventually build in the tree shaking directly into the Python library.
It looks like it's calling C code via Cython so if it works, you could probably use the same underlying C code via CGo for your project.