mrtype

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 13

Documentation

Index

Constants

View Source
const (
	NullableBoolNull  NullableBool = -1
	NullableBoolTrue               = 1
	NullableBoolFalse              = 0
)

Variables

This section is empty.

Functions

func BoolPointer

func BoolPointer(value bool) *bool

Types

type File

type File struct {
	FileInfo
	Path string
	Body io.ReadCloser
}

type FileInfo

type FileInfo struct {
	ContentType  string    `json:"contentType,omitempty"`
	OriginalName string    `json:"originalName,omitempty"`
	Name         string    `json:"name"`
	LastModified time.Time `json:"-"`
	Size         int64     `json:"size"`
}

type KeyInt32

type KeyInt32 int32

type KeyInt64

type KeyInt64 int64

type KeyString

type KeyString string

type NullableBool

type NullableBool int8

func (NullableBool) IsNull

func (b NullableBool) IsNull() bool

func (*NullableBool) Set

func (b *NullableBool) Set(value bool)

func (*NullableBool) SetNull

func (b *NullableBool) SetNull()

func (NullableBool) Val

func (b NullableBool) Val() bool

type PageParams

type PageParams struct {
	Index uint64 // pageIndex
	Size  uint64 // pageSize
}

type RangeInt64

type RangeInt64 struct {
	Min int64
	Max int64
}

type SortParams

type SortParams struct {
	FieldName string               // sortField
	Direction mrenum.SortDirection // sortDirection
}

Jump to

Keyboard shortcuts

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