types

package
v1.1.26 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonStruct

func JsonStruct(input interface{}, output interface{}) error

func SliceStringToInt

func SliceStringToInt(d []string) ([]int, error)

func SliceStringToInterface

func SliceStringToInterface(d []string) []interface{}

Types

type LoginData

type LoginData struct {
	Name     string `json:"name"`
	Password string `json:"password"`
	Verify   string `json:"verify"`
}

type TableData

type TableData struct {
	Data       interface{} `json:"data"`
	PageSize   int         `json:"page_size"`
	PageNo     int         `json:"page_no"`
	TotalPage  int         `json:"total_page"`
	TotalCount int         `json:"total_count"`
}

Jump to

Keyboard shortcuts

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