convert

package
v0.0.0-...-2a6e696 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UsersDB2Pb

func UsersDB2Pb(users []*model.User) []*pbuser.UserInfo

Types

type ByInt32

type ByInt32 []int32

ByInt32 Define a type ByInt32 to implement the sort.Interface

func (ByInt32) Len

func (a ByInt32) Len() int

Len returns the length of the array

func (ByInt32) Less

func (a ByInt32) Less(i, j int) bool

Less compares two elements in the array and determines their order

func (ByInt32) Swap

func (a ByInt32) Swap(i, j int)

Swap swaps two elements in the array

Jump to

Keyboard shortcuts

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