transformers

package
v0.0.0-...-b3d6e89 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionResponse

func ActionResponse(action models.Action) map[string]interface{}

* * stander the single user response

func ActionsResponse

func ActionsResponse(actions []models.Action) []map[string]interface{}

* * stander the Multi users response

func AnswerResponse

func AnswerResponse(answer models.Answer) map[string]interface{}

* * stander the single Answer response

func AnswersResponse

func AnswersResponse(answers []models.Answer) []map[string]interface{}

* * stander the Multi Answers response

func CategoriesResponse

func CategoriesResponse(categories []models.Category) []map[string]interface{}

* * stander the Multi users response

func CategoryResponse

func CategoryResponse(category models.Category) map[string]interface{}

* * stander the single user response

func FaqResponse

func FaqResponse(faq models.Faq) map[string]interface{}

* * stander the single faq response

func FaqsResponse

func FaqsResponse(faqs []models.Faq) []map[string]interface{}

* * stander the Multi faqs response

func PageImageResponse

func PageImageResponse(pageImage models.PageImage) map[string]interface{}

* * stander the single image page response

func PageImagesResponse

func PageImagesResponse(pageImages []models.PageImage) []map[string]interface{}

* * stander the Multi images page response

func PageResponse

func PageResponse(page models.Page) map[string]interface{}

* * stander the single page response

func PagesResponse

func PagesResponse(pages []models.Page) []map[string]interface{}

* * stander the Multi pages response

func SettingResponse

func SettingResponse(setting models.Setting) map[string]interface{}

* * stander the single setting response

func SettingsResponse

func SettingsResponse(settings []models.Setting) []map[string]interface{}

* * stander the Multi settings response

func TranslationResponse

func TranslationResponse(translation models.Translation) map[string]interface{}

* * stander the single translation response

func TranslationsResponse

func TranslationsResponse(translations []models.Translation) []map[string]interface{}

* * stander the Multi translations response

func UserResponse

func UserResponse(user models.User) map[string]interface{}

* * stander the single user response

func UsersResponse

func UsersResponse(users []models.User) []map[string]interface{}

* * stander the Multi users response

Types

This section is empty.

Jump to

Keyboard shortcuts

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