package main type SearchQuery struct { Query string MaxResults int64 Offset int64 } type BaseResponse struct { GlobalVars GlobalVars } type SearchResponse struct { GlobalVars GlobalVars Success bool SearchResults []interface{} NumResults int TotalResults int64 MoreResults bool OriginalQuery SearchQuery Offset int64 LastOffset int64 NumPages int } type DocumentResponse struct { GlobalVars GlobalVars SearchResults interface{} SummaryPDF string } type GlobalVars struct { Name string }