Goal is a toolkit for high productivity web development in Go language in the spirit of Revel Framework that is built around the concept of code generation.
Background info: This PR makes the skeleton app to listen on port 8080 of all available hosts.
P.S.: We need to document how configuration works:
Every component has its own default parameter values (e.g. Controllers, Server).
Those defaults can be overridden by INI configuration file.
* _INI configuration file may contain Environment variables, e.g. ${OPENSHIFT_PORT}._
It is possible to override values of INI configuration file when running the app using flags.
For illustration, default http.addr that is defined inside server.go is :8080. We can override it by adding http.addr = smth to config/app.ini. And we can override the value of configuration file by running the app as bin/run --http.addr="smth_else".
@DavidHunter Thanks, :+1:.
Background info: This PR makes the skeleton app to listen on port
8080
of all available hosts.P.S.: We need to document how configuration works:
${OPENSHIFT_PORT}
._For illustration, default
http.addr
that is defined insideserver.go
is:8080
. We can override it by addinghttp.addr = smth
toconfig/app.ini
. And we can override the value of configuration file by running the app asbin/run --http.addr="smth_else"
.