Sample Web Application based on https://github.com/elcct/defaultproject
- Goji - A web microframework for Golang - http://goji.io/
- Gorilla web toolkit sessions - cookie (and filesystem) sessions - http://www.gorillatoolkit.org/pkg/sessions
Default Project requires Go
, MySQL
and few other tools installed.
/controllers
All your controllers that serve defined routes.
/helpers
Helper functions.
/models
You database models.
/public
It has all your static files mapped to /assets/*
path except robots.txt
and favicon.ico
that map to /
.
/system
Core functions and structs.
/views
Your views using standard Go
template system.
server.go
This file starts your web application and also contains routes definition.