Refactors the indexing and the syntax

Human queries are now in french. Sorry for that
This commit is contained in:
2016-01-21 16:27:38 +01:00
parent dc0830a559
commit 0d3e8b922a
6 changed files with 316 additions and 336 deletions

View File

@@ -75,7 +75,7 @@ func GetCsvData() *bytes.Buffer {
m := rxSatID.FindStringSubmatch(a.SatID)
if m == nil {
panic(fmt.Sprintf("should not happen with %#v", a))
panic(fmt.Sprintf("Could not read regexp %#v", a))
}
fmt.Fprintf(res, ";%d;%s;;;%s;;;;%s;%s;;;\"foo\";;;ALBUM\n", a.State, a.PurchaseDate.Format("02/01/2006"), "", m[1], m[2])
}