builders

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Provides = wire.NewSet(
	wire.Struct(new(Controller), "*"),
	wire.Struct(new(Service), "*"),
)

Functions

This section is empty.

Types

type Controller

type Controller struct {
	BuildersX *Service
}

func (*Controller) SortFields

func (x *Controller) SortFields(ctx context.Context, c *app.RequestContext)

type M

type M = map[string]interface{}

type Service

type Service struct {
	*common.Inject
}

func (*Service) SortFields

func (x *Service) SortFields(ctx context.Context, id primitive.ObjectID, keys []string) (err error)

type SortFieldsDto

type SortFieldsDto struct {
	Id   primitive.ObjectID `json:"id" vd:"required"`
	Keys []string           `json:"keys" vd:"gt=0"`
}

Jump to

Keyboard shortcuts

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