Update module.go
Update module.go

making code more similar to https://github.com/hashicorp/terraform/blob/main/internal/addrs/module_instance.go
hashicorp/terraform,hashicorp/terraform,hashicorp/terraform