Example represent small site with admin-panel built on tokay framework and mongodb driver mgo.
Go 1.8 or above. Installed and runned MongoDB
Run the following command to get the sources:
git clone https://github.com/night-codes/golang-site-example
cd golang-site-example
go get -u ./...
Start the application:
go run *.go
Now the application runned on address http://localhost:8080/.
You can found the admin panel by address http://localhost:8080/admin/.
Username/Password: admin secret