ddm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BankCard

type BankCard string

BankCard 银行卡号 61142******9798

func (BankCard) MarshalJSON

func (bc BankCard) MarshalJSON() ([]byte, error)

type Email

type Email string

Email 邮箱 l***w@gmail.com

func (Email) MarshalJSON

func (e Email) MarshalJSON() ([]byte, error)

type IDCard

type IDCard string

IDCard 身份证号 1******7

func (IDCard) MarshalJSON

func (card IDCard) MarshalJSON() ([]byte, error)

type IDName

type IDName string

IDName 姓名 *鸿章 TODO:参考 https://blog.thinkeridea.com/201910/go/efficient_string_truncation.html Deprecated:有更好的性能选择

func (IDName) MarshalJSON

func (name IDName) MarshalJSON() ([]byte, error)

type Mobile

type Mobile string

Mobile 手机号 188****7986

func (Mobile) MarshalJSON

func (m Mobile) MarshalJSON() ([]byte, error)

type PassWord

type PassWord string

PassWord 密码 ******

func (PassWord) MarshalJSON

func (pw PassWord) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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