summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go19
1 files changed, 18 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2a2f4d9..1c2b8f6 100644
--- a/main.go
+++ b/main.go
@@ -54,7 +54,7 @@ func main() {
Host: meili_host,
})
- index := client.Index("fda510k")
+ index := client.Index("510k")
http.HandleFunc("/classic/", func(w http.ResponseWriter, r *http.Request) {
t, _ := template.ParseFiles("templates/search.gtpl")
@@ -97,9 +97,26 @@ func main() {
"applicant",
"decision",
"decision_date",
+ "full_text",
"id",
"predicates",
"submission_date",
+ "contact",
+ "STREET1",
+ "STREET2",
+ "CITY",
+ "STATE",
+ "ZIP",
+ "COUNTRY_CODE",
+ "postal_code",
+ "REVIEWADVISECOMM",
+ "PRODUCTCODE",
+ "STATEORSUMM",
+ "CLASSADVISECOMM",
+ "SSPINDICATOR",
+ "TYPE",
+ "THIRDPARTY",
+ "EXPEDITEDREVIEW",
}}, &res)
fmt.Println(res)
documentDetailsTemplate2.Execute(w, DocumentResponse{