utils

package
v0.0.0-...-4b69c17 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoHtml

func NoHtml(str string) string

Types

type Page

type Page struct {
	PageNo     int
	PageSize   int
	TotalPage  int
	TotalCount int
	FirstPage  bool
	LastPage   bool
	List       interface{}
}

func PageUtil

func PageUtil(count int, pageNo int, pageSize int, list interface{}) Page

type Result

type Result struct {
	Code        int
	Description string
	Detail      interface{}
}

Jump to

Keyboard shortcuts

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