Describe the issue you are facing or ask for help
Put login project out of iris/_example/mvc folder, run main.go, report an error:
#command-line-arguments
./main.go:31:27: undefined: iris.Dir
Need help!!
Hello @zfanmy, it's easy you just need to upgrade your Iris to the master one, because:
the default repository 's branch contains examples for the master branch, which is under active development status. So, in order to grab it in your projects you must run a go get command, as the README.md says, use the following code:
$ go get -u github.com/kataras/iris/v12@master
Now you are able to run all the master's examples.
However, If you are looking for the latest stable release check the v12.1.8 branch instead.
Hello @zfanmy, it's easy you just need to upgrade your Iris to the master one, because:
the default repository 's branch contains examples for themasterbranch, which is under active development status. So, in order to grab it in your projects you must run a go get command, as theREADME.mdsays, use the following code:$ go get -u github.com/kataras/iris/v12@masterNow you are able to run all the master's examples.
However, If you are looking for the latest stable release check the v12.1.8 branch instead.
Thank you very much!
You are welcome @zfanmy !
Most helpful comment
Hello @zfanmy, it's easy you just need to upgrade your Iris to the master one, because:
the default repository 's branch contains examples for the
masterbranch, which is under active development status. So, in order to grab it in your projects you must run a go get command, as theREADME.mdsays, use the following code:Now you are able to run all the master's examples.
However, If you are looking for the latest stable release check the v12.1.8 branch instead.