summaryrefslogtreecommitdiff
path: root/example.go
diff options
context:
space:
mode:
Diffstat (limited to 'example.go')
-rw-r--r--example.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/example.go b/example.go
index f32847b..ae5866f 100644
--- a/example.go
+++ b/example.go
@@ -60,13 +60,14 @@ type Example struct {
}
// NewExample create, initialize, and setup an example of Gorankusu.
-func NewExample(listenAddress string) (ex *Example, err error) {
+func NewExample(listenAddress string, isDev bool) (ex *Example, err error) {
var logp = `NewExample`
var env = &Environment{
ListenAddress: listenAddress,
ResultsDir: `testdata/example/`,
ResultsSuffix: `example`,
+ IsDevelopment: isDev,
}
ex = &Example{}