unknown import path "github.com/360EntSecGroup-Skylar/excelize/v2"

Description

According with the go Modules spec a module with the version v2+ (excelize v2.0.0) should be imported as follows:

import (
  "github.com/360EntSecGroup-Skylar/excelize/v2"
)

But this causes the error:

unknown import path "github.com/360EntSecGroup-Skylar/excelize/v2": cannot find module providing package github.com/360EntSecGroup-Skylar/excelize/v2

Steps to reproduce the issue:

  1. Import the dependency "github.com/360EntSecGroup-Skylar/excelize/v2" in a go Module enabled project.
  2. Run go build.

Describe the results you received:

Error:

unknown import path "github.com/360EntSecGroup-Skylar/excelize/v2": cannot find module providing package github.com/360EntSecGroup-Skylar/excelize/v2

Describe the results you expected:

Build should be successful.

Output of go version:

go version go1.12.2 linux/amd64

Excelize version or commit ID:

v2.0.0