mapper

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSearchPage added in v0.2.0

func CreateSearchPage(cfg *config.Config, validatedQueryParams data.SearchURLParams, categories []data.Category, respC searchC.Response, departments searchC.Department, lang string) (page model.Page)

CreateSearchPage maps type searchC.Response to model.Page

func GetMockDepartmentResponse added in v0.7.0

func GetMockDepartmentResponse() (searchC.Department, error)

GetMockDepartmentResponse get a mock department response in searchC.Department type

func GetMockSearchResponse added in v0.6.0

func GetMockSearchResponse() (searchC.Response, error)

GetMockSearchResponse get a mock search response in searchC.Response type

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL