diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-10-16 21:05:29 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-10-16 21:05:29 +0200 |
commit | ab31d25b314e7daab20d36b4849afeb7e125a1f0 (patch) | |
tree | 97e3ff06dfeadb8ec75ae36a2d5252863b2d5ccf /src/hub/src | |
parent | add testing shell scripts (diff) |
added prepare script for go get
set sqlite db path to something more flexible...
Diffstat (limited to 'src/hub/src')
-rw-r--r-- | src/hub/src/spreadspace.org/sfive/s5store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5store.go b/src/hub/src/spreadspace.org/sfive/s5store.go index 1480f48..6fcb6a2 100644 --- a/src/hub/src/spreadspace.org/sfive/s5store.go +++ b/src/hub/src/spreadspace.org/sfive/s5store.go @@ -112,7 +112,7 @@ func updateFromStatisticsData(value StatisticsData) (dataUpdateDb, []clientDataD func initDb() *gorp.DbMap { // connect to db using standard Go database/sql API - db, err := sql.Open("sqlite3", "/home/gimpf/test.sqlite") + db, err := sql.Open("sqlite3", "/tmp/s5-test.sqlite") checkErr(err, "sql.Open failed") dbmap := &gorp.DbMap{Db: db, Dialect: gorp.SqliteDialect{}} |