Except that there are many ways to do DI, magic is not necessarly required, other than much welcomed development experience.
However Go doesn't like magic, thus that isn't something that will ever happen on the standard library, like on Python, Java, .NET.