skeleton

command
v0.0.0-...-5a1941a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2016 License: BSD-2-Clause Imports: 7 Imported by: 0

README

github.com/goaltools/goal/internal/skeleton

Install and run

After installation and start, the app will be available on localhost:9000.

Quick start for evaluation
# Download it.
go get -d github.com/goaltools/goal/internal/skeleton

# Change your current directory to the root of the project.
cd $GOPATH/src/github.com/goaltools/goal/internal/skeleton

# Run it as a regular Go application.
go run main.go
Development install
# Install Goal toolkit.
go get -u github.com/goaltools/goal

# Download the app.
go get github.com/goaltools/goal/internal/skeleton

# Run it in development mode.
goal run github.com/goaltools/goal/internal/skeleton

# Start making changes to the code that is located at
# $GOPATH/src/github.com/goaltools/goal/internal/skeleton

Contents

  • assets/ - automatically generated assets
    • handlers/ - package and its subpackages generated by goal generate handlers
  • controllers/ - controllers of the application
    • app.go - sample controller
    • init.go - base controller
  • main.go - entry point of the application
  • static/ - a directory with robots.txt, favicon.ico, etc.
    • assets/ - the rest of the public static assets, e.g. scripts and images
  • goal.yml - configuration file of goal run file watcher / task runner
  • views/ - server-side templates of the application

Documentation

Overview

Package main is an entry point of the application.

Directories

Path Synopsis
assets
handlers
Package handlers is generated automatically by goal toolkit.
Package handlers is generated automatically by goal toolkit.
handlers/github.com/goaltools/contrib/controllers/requests
Package handlers is generated automatically by goal toolkit.
Package handlers is generated automatically by goal toolkit.
handlers/github.com/goaltools/contrib/controllers/sessions
Package handlers is generated automatically by goal toolkit.
Package handlers is generated automatically by goal toolkit.
handlers/github.com/goaltools/contrib/controllers/static
Package handlers is generated automatically by goal toolkit.
Package handlers is generated automatically by goal toolkit.
handlers/github.com/goaltools/contrib/controllers/templates
Package handlers is generated automatically by goal toolkit.
Package handlers is generated automatically by goal toolkit.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL