Goal is a set of tools for high productivity web development in Go language.
Goal, being mostly inspired by Revel Framework and its discussions, is built around the concept of controllers and actions. However, as opposed to Revel and other high level frameworks Goal does not use runtime reflection and does not require your app to import monolithic dependencies.
Instead Goal is implemented in a form of independent tools that may be used with
go generate. That allows us to achieve type safety, minimalism of dependencies, compatability with the standard library, and productivity for the end-developers. At the same time Goal is very customizable (you can bring your own router, template system, and any other component). But that's without prejudice to the easiness and seamless of experience thanks to good defaults.
go get -u github.com/goaltools/goal
Create a new skeleton application:
goal new github.com/$username/$project
Start a watcher / task runner:
goal run github.com/$username/$project
goal new- generate skeleton application
goal run- start watcher / task runner
goal generate handlers- generate HTTP handler functions
goal generate listing-
generate a list of file paths(deprecated)
goal generate * tools may be used with
Proof of Concept: not ready for use in the wild. Working on: splitting the project into independent repos.
Distributed under the BSD 2-clause "Simplified" License unless otherwise noted.