utils

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

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

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandSelectIntn

func RandSelectIntn(list []models.Post, n int) []models.Post

从列表选取 若干元素 随机选n点,冲突后移

func RandSelectStrs

func RandSelectStrs(list []string, n int) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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