go get -u github.com/360EntSecGroup-Skylar/excelize/v2 will do what you
want. You then have to import " github.com/360EntSecGroup-Skylar/excelize/v2"
in all your Go files.

-- Marcin

On Tue, May 14, 2019 at 3:37 PM Andrew <angang....@gmail.com> wrote:

> I want to install the latest version(v2.0.0) of excelize library using:
>
>
> go get -u github.com/360EntSecGroup-Skylar/excelize@latest
>
> But the go.mod file updated using the old version 1.4.1
>
> module learn
>
> go 1.12
>
> require (
>    github.com/360EntSecGroup-Skylar/excelize v1.4.1 // indirect
>    github.com/stretchr/objx v0.2.0 // indirect
> )
>
>
> If I use the @v2.0.0 command, the error shows out:
>
> $ go get -u github.com/360EntSecGroup-Skylar/excelize@v2.0.0
> go: finding github.com/360EntSecGroup-Skylar/excelize v2.0.0
> go: github.com/360EntSecGroup-Skylar/excelize@v0.0.0-20190502075747-
> b1f632d40841: go.mod has post-v0 module path "
> github.com/360EntSecGroup-Skylar/excelize/v2" at revision b1f632d40841
> go get: error loading module requirements
>
> Please help!
>
> Thanks,
> Andrew
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/36c0f7c1-f692-4c66-a3cf-e39a0f919d8f%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/36c0f7c1-f692-4c66-a3cf-e39a0f919d8f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2Bv29Lu81aN3RRBfWhq%2BQcK7RmcuYzncj2dqfpNwBTOZRy5ikg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to