wst

package
v1.2.54 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DashedCase

func DashedCase(st string) string

func LoadFile

func LoadFile(filePath string, out interface{}) error

func Transform added in v1.2.26

func Transform(in interface{}, out interface{}) error

Types

type A added in v1.2.36

type A []M

type Filter added in v1.2.37

type Filter struct {
	Where   *Where   `json:"where"`
	Include *Include `json:"include"`
	Order   *Order   `json:"order"`
	Skip    int64    `json:"skip"`
	Limit   int64    `json:"limit"`
}

type IApp

type IApp struct {
	Debug        bool
	SwaggerPaths func() *map[string]M
	FindModel    func(modelName string) interface{}
	JwtSecretKey []byte
}

type Include added in v1.2.37

type Include []struct {
	Relation string  `json:"relation"`
	Scope    *Filter `json:"scope"`
}

type M added in v1.2.36

type M map[string]interface{}

func CopyMap

func CopyMap(src M) M

type Order added in v1.2.37

type Order []string

type Where added in v1.2.37

type Where M

Jump to

Keyboard shortcuts

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