tree: 55ed9ab2c08b5a53ab562ee67a7a0163af4cd7b3 [path history] [tgz]
  1. admin-panel/
  2. simple/


go-web ships with some application templates (server skeleton) that serve as a starting point for new projects.

They usually have:

  • Makefile to build the server, and some times other assets (e.g. compress js and css)
  • Sample configuration file (for server port, document root, etc)
  • HTTP and HTTPS on the same server
  • Scripts to create self-signed certificates
  • Pre-configured Redis and MySQL

Using templates

Just make a copy of the template and run its script.


cp -r simple foobar
cd foobar

Install dependencies:

make deps

Compile and run the server:

make clean all

Each template has its own with more details.