QML modules right now only work, if they exclusively use QML. It is not possible to write go code along with them.