testfiles

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base added in v0.2.6

type Base struct {
	Index string
	Type  string
}

type Event added in v0.2.6

type Event struct {
	Name      string
	EventType int
}

type Field added in v0.2.6

type Field struct {
	Name   string
	Type   string
	Format string
}

type MappingPayload added in v0.2.6

type MappingPayload struct {
	Base
	Fields []Field
	Index  string
}

type MyInter added in v0.2.6

type MyInter interface {
	Speak() error
}

type Order

type Order struct {
	Col  string
	Sort string
}

排序条件

type PageFilter

type PageFilter struct {
	// 真实姓名,前缀匹配
	Name string
	// 所属部门ID
	Dept int
}

筛选条件

type PageRet

type PageRet struct {
	Items    interface{}
	PageNo   int
	PageSize int
	Total    int
	HasNext  bool
}

type TestAlias added in v0.2.6

type TestAlias struct {
	Age    age
	School []struct {
		Name string
		Addr struct {
			Zip   string
			Block string
			Full  string
		}
	}
	EventChan chan Event
	SigChan   chan int
	Callback  func(string) bool
	CallbackN func(param string) bool
}

Jump to

Keyboard shortcuts

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