app.Authors = []cli.Author{{
Name:"sgfoot",
Email:"[email protected]",
}}
This code window10 system compilation error , but linux64 system compilation is ok, why?
@yezihack there isn't nearly enough information here for me to help you, please fill out the entire issue template when creating a new issue. I'm closing this b/c there isn't enough detail here.
Also, just from the title
cannot use []cli.Author literal (type []cli.Author) as type []*cli.Author in assignment
I can tell that you're probably missing an & somewhere.
I think you are mixing differenr versions of the library between the machines
yes, mixing different version
Make sure to run go get -u github.com/urfave/cli to update it if you are not using go modules.