convertor

package
v1.2.21 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMoment

func ConvertMoment(data *moment.Moment) *content.Moment

func ConvertMomentAllFieldsSearchQuery

func ConvertMomentAllFieldsSearchQuery(in *content.SearchOptions_AllFieldsKey) []types.Query

func ConvertMomentMultiFieldsSearchQuery

func ConvertMomentMultiFieldsSearchQuery(in *content.SearchOptions_MultiFieldsKey) []types.Query

func ConvertMomentSlice

func ConvertMomentSlice(data []*moment.Moment) []*content.Moment

func ConvertPlan added in v1.2.6

func ConvertPlan(data *plan.Plan) *content.Plan

func ConvertPlanAllFieldsSearchQuery added in v1.2.6

func ConvertPlanAllFieldsSearchQuery(in *content.SearchOptions_AllFieldsKey) []types.Query

func ConvertPlanMultiFieldsSearchQuery added in v1.2.6

func ConvertPlanMultiFieldsSearchQuery(in *content.SearchOptions_MultiFieldsKey) []types.Query

func ConvertPost

func ConvertPost(in *post.Post) *content.Post

func ConvertPostAllFieldsSearchQuery

func ConvertPostAllFieldsSearchQuery(in *content.SearchOptions_AllFieldsKey) []types.Query

func ConvertPostMultiFieldsSearchQuery

func ConvertPostMultiFieldsSearchQuery(in *content.SearchOptions_MultiFieldsKey) []types.Query

func ParseMomentFilter

func ParseMomentFilter(opts *content.MomentFilterOptions) (filter *moment.FilterOptions)

func ParsePagination

func ParsePagination(opts *basic.PaginationOptions) (p *pagination.PaginationOptions)

func ParsePlanFilter added in v1.2.6

func ParsePlanFilter(opts *content.PlanFilterOptions) (filter *plan.FilterOptions)

func ParsePostFilter

func ParsePostFilter(fopts *content.PostFilterOptions) *post.FilterOptions

Types

This section is empty.

Jump to

Keyboard shortcuts

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