Documentation ¶
Index ¶
Constants ¶
View Source
const ( AccountIdQueryParam = "accountId" TransactionNumQueryParam = "numTransactions" StartDateParam = "startDate" EndDateParam = "endDate" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryParams ¶
type QueryParams struct { AccountID *string NumTransactions *int32 StartDate *time.Time EndDate *time.Time }
QueryParams struct to hold the query parameters
func FetchQueryParams ¶
func FetchQueryParams(queryParams url.Values) *QueryParams
FetchQueryParams extracts query parameters from the url.Values map
func (*QueryParams) String ¶
func (q *QueryParams) String() string
Click to show internal directories.
Click to hide internal directories.