fun

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JudgeString1

func JudgeString1(name string) bool

func JudgeString2

func JudgeString2(name string) (bool, string)

func JudgeString3

func JudgeString3(customize CustomizeEntity3, name string) (bool, string)

func JudgeString4

func JudgeString4(customize CustomizeEntity4, name string) (string, bool)

func JudgeString5

func JudgeString5(customize CustomizeEntity5) (string, bool)

func JudgeString6 added in v1.4.2

func JudgeString6(customize CustomizeEntity6) (string, bool)

func JudgeString6Flag added in v1.4.2

func JudgeString6Flag(customize CustomizeEntity6) (string, bool)

func JudgeString6Flag2 added in v1.4.2

func JudgeString6Flag2(flag *bool) (string, bool)

Types

type CustomizeEntity1

type CustomizeEntity1 struct {
	Name string `match:"customize=judge1Name"`
}

type CustomizeEntity2

type CustomizeEntity2 struct {
	Name string `match:"customize=judge2Name"`
}

type CustomizeEntity3

type CustomizeEntity3 struct {
	Name string `match:"customize=judge3Name"`
	Age  int
}

type CustomizeEntity4

type CustomizeEntity4 struct {
	Name string `match:"customize=judge4Name"`
	Age  int
}

type CustomizeEntity5

type CustomizeEntity5 struct {
	Name string `match:"customize=judge5Name"`
	Age  int
}

type CustomizeEntity6 added in v1.4.2

type CustomizeEntity6 struct {
	Name  *string `match:"customize=judge6Name"`
	Flag  *bool   `match:"customize=judge6Flag"`
	Flag2 *bool   `match:"customize=judge6Flag2"`
	Age   int
}

Jump to

Keyboard shortcuts

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