goqueryPix

package
v2.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

* * @Author: TheLife * @Date: 2021/5/17 下午5:42

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectionPixList

func SelectionPixList(element *goquery.Selection, arr []*string, iterationFuc ...func(value string, selection *goquery.Selection, index int) string)

selection 根据 list,自动设置值 适合静态列表(多个相同类型对象,列表字段位置顺序都是一致情况用)

func SelectionPixMap

func SelectionPixMap(element *goquery.Selection, key string, value string, m M, iterationFuc ...func(value string, selection *goquery.Selection, mKey string) string)

selection 根据 map,自动设置值 适合动态列表(多个相同类型对象,列表字段位置顺序不一致情况用)

func TrimAll

func TrimAll(s string, cutset ...string) string

Types

type M

type M map[string]*string

Jump to

Keyboard shortcuts

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