README ¶ Go is awesome language and Beego is cool Welcome to Siarhei Hladkou examples. Features: this example will help you to easy build up auto routing from http protocol to https protocol i used couple of articles and read beego documentation to made this sample (beego documentation is still buggy :) ) project has been configured with IntelliJ IDEA 15 Community edition SETUP download copy of files to your #GOPATH/src/go-example-001-autoswitch-to-https folder generate your personal https certificate files xert.pem and key.pem and replace in root folder $ go run /usr/local/go/src/crypto/tls/generate_cert.go -host="127.0.0.1" restore packages via $ go get github.com/astaxie/beego $ go get github.com/smartystreets/goconvey/convey $ go get github.com/jtolds/gls packages should appear at your $GOPATH/src/github.com folder build and run open http://127.0.0.1:8080 page in a browser follow the "Go to Login page: Login Page Link" if everythis is successed you will appear at Secure HTTPS page Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis controllers models redirect routers Click to show internal directories. Click to hide internal directories.